Can't get Apache 2 on Mac OS 10.6 working
Apache2 on Mac OS X 10.6 (Snow Leopard) does not seem to be working
When I put the following URL into Safari
Safari returns the message:
Safari can’t open the page “http://localhost/dev/gfrm.cgi?init” because Safari can’t connect to the server “localhost”. (or 10.0.0.150)
(10.0.0.150 is the address showing in system preferences --> Sharing when "Web sharing" is checked
gfrm.cgi is a perl cgi script that ran perfectly in an apache2 installation on Windows XP).
Any ideas of what I need to do to get apache running on Mac OS X 10.6 (Snow Leopard)?
Thanks for your help
Can't get Apache 2 on Mac OS 10.6 working -- Problem solved
I stopped the service via system preferences --> sharing and unchecked "web sharing".
Then via a terminal window used:
sudo apachectl -k start
The above command said there was an error at a sepcific line number in httpd.conf which is located in /private/etc/apache2
I commented out the offending line and the server started using
sudo apachectl -k start.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread