Created
November 1, 2015 22:29
-
-
Save MikeiLL/ca662c630b21fb70db91 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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName localhost | |
ServerAlias *.localhost | |
VirtualDocumentRoot /Users/mikekilmer/Sites/%0 | |
php_admin_value auto_prepend_file /Applications/MAMP/conf/apache/extra/setdocroot.php | |
# content of above file | |
# $_SERVER['DOCUMENT_ROOT'] = str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']); | |
RewriteLogLevel 3 | |
RewriteLog "/Applications/MAMP/logs/rewrite.log" | |
<Directory /Users/mikekilmer/Sites> | |
Options All | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the
http.conf
file one directory above this, uncomment the line:around line 571.