Skip to content

Instantly share code, notes, and snippets.

@shengyou
Created December 28, 2017 03:25
Show Gist options
  • Save shengyou/3efb5f258e913e3e7ad2855ef02bb026 to your computer and use it in GitHub Desktop.
Save shengyou/3efb5f258e913e3e7ad2855ef02bb026 to your computer and use it in GitHub Desktop.
#<VirtualHost *:80>
# ServerAdmin [email protected]
# DocumentRoot "/opt/lampp/docs/dummy-host.example.com"
# ServerName dummy-host.example.com
# ServerAlias www.dummy-host.example.com
# ErrorLog "logs/dummy-host.example.com-error_log"
# CustomLog "logs/dummy-host.example.com-access_log" common
#</VirtualHost>
#<VirtualHost *:80>
# ServerAdmin [email protected]
# DocumentRoot "/opt/lampp/docs/dummy-host2.example.com"
# ServerName dummy-host2.example.com
# ErrorLog "logs/dummy-host2.example.com-error_log"
# CustomLog "logs/dummy-host2.example.com-access_log" common
#</VirtualHost>
<VirtualHost laravel.local:80>
DocumentRoot "/home/shengyou/Projects/laravel/public"
ServerAdmin laravel.local
<Directory "/home/shengyou/Projects/laravel">
Options All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment