Start an Apache Web Server in Mac OS X Mavericks & Mountain Lion
Setting Up and Starting the Apache Web Server in OS X
Versions of OS X prior to Mountain Lion and Mavericks can simply turn on "Web Sharing", but from 10.8 and 10.9 onward you'll need to do the following to use a local web server:
- Launch Terminal, located in /Applications/Utilities/
- Type the following command, replacing USERNAME with the user account short name:
- Enter the admin password when requested, then paste the following into the nano text editor:
nano /etc/apache2/users/USERNAME.conf
Read full article from Start an Apache Web Server in Mac OS X Mavericks & Mountain Lion
No comments:
Post a Comment