Skip to content

Instantly share code, notes, and snippets.

@Gremlyn
Created November 10, 2015 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gremlyn/a67d60847cd645b4e0d0 to your computer and use it in GitHub Desktop.
Save Gremlyn/a67d60847cd645b4e0d0 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
# Assigned the user to the virtual host
<IfModule mpm_itk_module>
AssignUserId grembrew www-data
</IfModule>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin admin@thegremlyn.com
ServerName beer.thegremlyn.com
ServerAlias beer.thegremlyn.com
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.php
DocumentRoot /home/public_html/beer.thegremlyn.com/public
# Site Options
<Directory /home/public_html/beer.thegremlyn.com/public>
Options -Indexes
AllowOverride All
Require all granted
</Directory>
# Custom log file locations
LogLevel error
ErrorLog /home/public_html/beer.thegremlyn.com/log/error.log
CustomLog /home/public_html/beer.thegremlyn.com/log/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment