Skip to content

Instantly share code, notes, and snippets.

@ricardoriogo
Last active December 17, 2015 20:29
Show Gist options
  • Save ricardoriogo/5667532 to your computer and use it in GitHub Desktop.
Save ricardoriogo/5667532 to your computer and use it in GitHub Desktop.
Configuração exemplo vHost.
<VirtualHost *:80>
ServerName site.dev
DocumentRoot "D:\pasta_root"
</VirtualHost>
<Directory "D:\pasta_root">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
<VirtualHost *:80>
ServerName ricardoriogo.dev
ServerAlias ricardoriogo *.ricardoriogo ricardoriogo.local
DocumentRoot "D:\pjt\Ricardo Riogo\site.2014\www\public"
# /src alias folder for use of sourceMaps
Alias /src "D:/pjt/Ricardo Riogo/site.2014/www/src/"
<Directory "D:\pjt\Ricardo Riogo\site.2014\www\src">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory "D:\pjt\Ricardo Riogo\site.2014\www\public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment