Skip to content

Instantly share code, notes, and snippets.

@codepainkiller
Last active March 18, 2017 04:08
Show Gist options
  • Save codepainkiller/4507ca30136793aaab06 to your computer and use it in GitHub Desktop.
Save codepainkiller/4507ca30136793aaab06 to your computer and use it in GitHub Desktop.
Virtual Host Laravel - LAMP
<VirtualHost *:80>
ServerName blog.app
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/blog/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SetEnv APPLICATION_ENV "development"
<Directory /var/www/html/blog/public>
Options Indexes FollowSymLinks MultiViews
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