Created
January 15, 2017 17:46
-
-
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/
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
<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