Skip to content

Instantly share code, notes, and snippets.

@selenearzola
Created January 15, 2017 17:46
Show Gist options
  • Save selenearzola/687cfc6d182bd4b2f6ed54a50b5e67a6 to your computer and use it in GitHub Desktop.
Save selenearzola/687cfc6d182bd4b2f6ed54a50b5e67a6 to your computer and use it in GitHub Desktop.
Virtual Host example from the tutorial: Setting up a local Web Development Environment in Ubuntu to develop a website using Laravel Framework 5.3 hosted in https://helloselene.wordpress.com/
<VirtualHost *:80>
ServerName laravel-project.dev
ServerAlias www.laravel-project.dev
DocumentRoot /var/www/laravel-project/public
<Directory /var/www/laravel-project/public>
Options -Indexes +FollowSymLinks -MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/laravel-project-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/laravel-project-access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment