Edit /usr/local/apache2/httpd.conf to change default location of the PID file from:
PidFile /usr/local/apache2/logs/httpd.pid to: PidFile /private/var/run/httpd.pid Link /usr/sbin/apachectl to /usr/local/apache2/bin/apachectl: cd /usr/sbin sudo mv apachectl apachectl.orig sudo ln -s /usr/local/apache2/bin/apachectl apachectl Bill Paredes Albert Einstein College of Medicine Dragon wrote:
Eric Gorr sent the message below at 10:01 8/30/2007:Yes, I am sure I can build and install it from source without any trouble. What I am uncertain of however is how to get the machine to launch the Apache2 webserver as opposed to the the default one installed on the system. I am also assuming that if I install Apache2, I would no longer be able to use the Sharing panel to turn the server on/off and would need to do so from the command line. I can't imagine this is terribly difficult...I just don't know the answer.---------------- End original message. ---------------------If you were running a flavor of Redhat or a similar Linux distribution, I'd be able to help you.Unfortunately, how Apple has chosen to do things is out of my area of expertise.I do know that the current Mac OS is based on a flavor of BSD, I am wondering if they might use a similar start-up scripting method as the BSD distributions. At any rate, it would be something to ping the Mac support lists about to see what they can do to help you.Dragon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx