habad.blogg.se

Set up a local web server mac os x
Set up a local web server mac os x













set up a local web server mac os x

$sudo chgrp -R staff Documents/ $ sudo chown -R dinker Documents/ I changed them to my user logged user so as to make file editing easier (very useful during development). The default permissions are for user ‘root’ and group ‘wheel’. It is located at: $ cd /Library/WebServer/Documents/ $ sudo apachectl stop $ sudo apachectl start Step 2: Your Web Directory But if you ever wanted to start / stop / restart, the ‘apachectl’ command works fine.

set up a local web server mac os x

Note that mod_status must be enabled for this to work. So, thought will share the steps to save you folks some time: Step 1: Check if Web Server is up and running $ sudo apachectl status Password: Go to in the web browser of your choice.

set up a local web server mac os x

Apple has removed ‘Web Server’ from Sharing in Settings. Was setting up a web server in my Mac OS X after a long time.















Set up a local web server mac os x