Localhost not work,please help

I'm using a Mac Book Pro running OS X EL Capitan 10.11.1.


Localhost errors:

/System/Library/LaunchDaemons/org.apache.httpd.plist: service already loaded

suweipings-MacBook-Pro:~ SuWeiPing$ apachectl configtest

(2)No such file or directory: AH02291: Cannot access directory '/private/var/log/apache2/' for main error log

AH00014: Configuration check failed.

how to make installer img of Apache 2.4.17?

MacBook Pro with Retina display, OS X El Capitan (10.11.1)

Posted on Nov 23, 2015 9:37 AM

Reply
3 replies

Sep 7, 2016 8:43 AM in response to BobTheFisherman

I have tried all the steps in these links and many other. Nothing seems to help. I cannot get the web work in Sites directory to be recognized. This is preventing me from getting work done. I am very unlikely to every upgrade to another Mac OS. Any other ideas. No matter what I do I get the The requested URL /~username/ was not found on this server.


I have checked the configurations, restarted apache, restarted safari, restarted the Mac... Any ideas?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Localhost not work,please help

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.