Revision [694]

This is an old revision of ApacheOnMavericks made by WojciechLisiewicz on 2014-08-20 00:14:54.

 

Apache on Mavericks

configuring the built-in Webserver


automatic server start after booting
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
(see http://clickontyler.com/support/a/38/how-start-apache-automatically/)

starting / stopping
sudo apachectl start / stop / restart
helpfully too:
sudo apachectl configtest

permissions
note: "In order for apache to access a directory, it must have access rights not only to that directory but to all directories above it. So you need to allow www-data read access to /media and /media/crash as well as /media/crash/Yari."
source: http://serverfault.com/questions/566083/you-dont-have-permission-to-access-on-this-server-changing-default-www-to-n



sources
- http://www.ulrike-haessler.de/notizen-aus-der-provinz/maclog/webserver-unter-mac-os-x-maverick-10-9/
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki