Skip to content

Instantly share code, notes, and snippets.

@clzola
Created July 28, 2016 06:44
Show Gist options
  • Save clzola/a3066e08a50cb5a2825d17fd2beef4dc to your computer and use it in GitHub Desktop.
Save clzola/a3066e08a50cb5a2825d17fd2beef4dc to your computer and use it in GitHub Desktop.
Virtual Host for L5
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName [SERVER_NAME]
ServerAlias [SERVER_ALIAS]
DocumentRoot [SERVER_DOCUMENT_ROOT]
<Directory />
AllowOverride All
</Directory>
<Directory [SERVER_DOCUMENT_ROOT]>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>
LogLevel error
ErrorLog /var/log/apache2/[SERVER_NAME]-error.log
CustomLog /var/log/apache2/[SERVER_NAME]-access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment