In Fedora 16 I can check if httpd is running with the following command:
systemctl status httpd.service
You can check for syntax errors in your httpd.conf file using the
following command:
apachectl configtest
If there are no syntax errors in your httpd.conf file, "syntax OK"
should be returned from the above command.
You will want to check your log file.
The following lines in your httpd.conf file are relevant to your log
file. In my case the lines are as follows:
ErrorLog /var/log/httpd/error_log
LogLevel warn
What are you using for ServerName?
What URL are you using to connect to your web server?
What does your browser show, if anything, when the connection fails?
Also, this may help:
http://stackoverflow.com/questions/12395639/mac-os-mountain-lion-apache-running-but-localhost-not-working
http://blog.joshdick.net/2012/07/28/troubleshooting_apache_in_os_x_10.8_mountain_lion.html
Regards,
LelandJ
On 11/28/2012 05:28 PM, Ken Kixmoeller (ProFox) wrote:
Still nothing. I know I am over my pay grade here, but I see that the
httpd.conf file has the:
DocumentRoot "/Library/WebServer/Documents"
I tried to change it to:
DocumentRoot "/Users/ken/Sites"
Still nothing. Any suggestions how I can troubleshoot this lovely thing?
Ken
On Wed, Nov 28, 2012 at 4:24 PM, Ken Kixmoeller (ProFox) <
[email protected]> wrote:
Crap. I can't make it work. (google-fu, apple-fu, brain-fu)
On Wed, Nov 28, 2012 at 3:14 PM, Ken Kixmoeller (ProFox) <
[email protected]> wrote:
Thanks, Ed. I don't know how I didn't find that page. I am trying it now.
On Wed, Nov 28, 2012 at 2:31 PM, Ed Leafe <[email protected]> wrote:
On Nov 28, 2012, at 1:36 PM, Ken Kixmoeller (ProFox) <
[email protected]> wrote:
Clues for the Clueless?
Try this to see if it answers your questions:
http://reviews.cnet.com/8301-13727_7-57481978-263/how-to-enable-web-sharing-in-os-x-mountain-lion/
( -or- http://goo.gl/efWKP )
-- Ed Leafe
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.