Skip to content

Instantly share code, notes, and snippets.

@rafabarzotto
Created February 15, 2017 21:43
Show Gist options
  • Save rafabarzotto/79200e3c93f52fa218b651c54c2b8ad7 to your computer and use it in GitHub Desktop.
Save rafabarzotto/79200e3c93f52fa218b651c54c2b8ad7 to your computer and use it in GitHub Desktop.
ExempleVirtualHostApache2.conf
# My custom host
<VirtualHost projeto_pos.local:80>
ServerName projeto_pos.local
DocumentRoot "/Applications/XAMPP/htdocs/projeto_pos/public"
<Directory "/Applications/XAMPP/htdocs/projeto_pos/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
#Allow from all
Require all granted
</Directory>
ErrorLog "/Applications/XAMPP/htdocs/projeto_pos-error_log"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment