|Today, 08:38 AM||#1|
Apache server doesn't work
I have mac pro mid 2012 mavericks.
Apache server doesn't work on my mac. When I enter localhost on web browser it shows me
I don't know how to solve this problem. Anyone can help me fixing it?
|Today, 11:35 AM||#4|
Apple has made it way harder to set up a web dev stack in Mavericks than what it needs to be. The guides I've looked at are all pretty lacking in one way or another. If you're just trying to run apache for something quick/simple then press on. If you plan on doing anything remotely more intense such as scripting or long term dev, look into another easier to use stack like xampp. You'll save yourself some hours of frustration.
The issue you're seeing is a permissions related one. Theres a number of things that could be wrong here, but off the top of my head...
1.) The file you're trying to read doesn't have proper permissions. Go into terminal and make sure its chmod 644 for a static file or chmod 755 for a script.
2.) the directory or one of the parent directories your content is in doesn't have proper permissions. Say your apache conf is set to use /foo/bar/mywebsite/. All 3 of those directories 'foo', 'bar', and 'mywebsite' need to be chmod 755.
3.) you might need to play with chown'ing /foo/bar/mywebsite to _www or your username.
|apache, mac 10.9, server|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Black screen , HDMI doesn't work , VGA doesn't work||Madridista||Mac Basics and Help||4||Jun 23, 2014 05:45 PM|
|Native Apache server or XAMPP?||tytheblackcat||Mac Programming||6||Jul 26, 2013 04:26 PM|
|Gmail doesn't work - "Connection to the server failed"||bollweevil||iPhone Tips, Help and Troubleshooting||7||Feb 27, 2013 01:13 AM|
|CWMX server doesn't seem to work (for me) with IOS 6||cbronfman||iOS 6||0||Sep 23, 2012 01:20 PM|
|Apache will not run with Mountain Lion server?||Tholian||Mac OS X Server, Xserve, and Networking||3||Sep 19, 2012 01:29 PM|
All times are GMT -5. The time now is 11:57 PM.