Apache http.conf

Craig Hoffman mountain.dog at gmail.com
Mon Oct 15 10:40:51 PDT 2012


Hey Folks,
I have an odd issue with Apache.  I have a more or less standard install of MacPorts PHP, MySQL and Apache for local web development. Everything was working fine until yesterday, honestly I'm not sure what happened - nothing has changed. It looks like my MacPort Apache is now using Apple's http.conf file.  To test this, I added a few extra characters to Apple's http.conf file and restarted the server with (/opt/local/apache2/bin apachectl restart) and it returned this message. 

apachectl configtest
Syntax error on line 41 of /private/etc/apache2/httpd.conf:

Plus the web server did not start. 

How do I redirect MacPorts Apache to look at the correct http.conf file?  I'm stumped.

Thanks,
Craig
_______________________
Craig Hoffman
http://photography.eclimb.net
_______________________










More information about the macports-users mailing list