Skip to content

Instantly share code, notes, and snippets.

@netojoaobatista
Created May 15, 2013 13:50
Show Gist options
  • Save netojoaobatista/5584124 to your computer and use it in GitHub Desktop.
Save netojoaobatista/5584124 to your computer and use it in GitHub Desktop.
NameVirtualHost 127.0.0.2:80
<Directory "/var/www/html/example/">
Options -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost 127.0.0.2:80>
ServerAdmin neto@localhost
DocumentRoot /var/www/html/example/public_html
ErrorLog /var/www/html/example/error_log
ServerName example.localhost
LogLevel warn
ServerSignature On
</VirtualHost>
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.2 example.localhost
::1 localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment