Created
February 12, 2013 16:41
-
-
Save michaelfox/4771201 to your computer and use it in GitHub Desktop.
Basic apache vhost template for use on local development environments.
This file contains 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
# Site: sitename.local | |
<VirtualHost *:80> | |
ServerName sitename.local | |
ServerAlias *.sitename.local | |
DirectoryIndex index.php index.html | |
DocumentRoot "/www/sitename/web" | |
<Directory /www/sitename/web> | |
Options All +Indexes | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
SetEnv SITE_ENVIRONMENT "DEVELOPMENT" | |
LogLevel warn | |
ErrorLog "/www/sitename/logs/error.log" | |
CustomLog "/www/sitename/logs/access.log" combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment