Created
December 1, 2011 09:15
-
-
Save erikbuild/1415242 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo mate yourusername.conf | |
| You will see this: | |
| <Directory "/Users/yourusername/Sites/"> | |
| Options Indexes MultiViews | |
| AllowOverride None | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| To enable .htaccess, change line 3 to look like this: | |
| AllowOverride All | |
| Save the file and enter your login info if prompted. The .conf file is owned by root, so OSX will re-authenticate to make sure you have the rights. After saving the file, open up the System Preferences, click the Sharing icon, then toggle the Web Server off then on. This will restart Apache and use your updated settings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment