Last active
December 30, 2015 00:39
-
-
Save josh-taylor/7750883 to your computer and use it in GitHub Desktop.
My VirtualDocumentRoot setup
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
<IfModule dir_module> | |
DirectoryIndex index.html default.html index.php | |
</IfModule> | |
<IfModule mime_module> | |
AddHandler php5-script .phtml | |
AddHandler php5-script .php | |
</IfModule> | |
<VirtualHost *:80> | |
UseCanonicalName Off | |
VirtualDocumentRoot /Users/Josh/Server/vhosts/%0/httpdocs | |
CustomLog "/Users/Josh/Server/logs/access_log.txt" combined | |
ErrorLog "/Users/Josh/Server/logs/error_log.txt" | |
<Directory "/Users/Josh/Server/vhosts/*/httpdocs"> | |
AllowOverride all | |
RewriteEngine On | |
RewriteBase / | |
</Directory> | |
LogLevel debug | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment