Skip to content

Instantly share code, notes, and snippets.

@chadsten
Created June 28, 2013 17:07
Show Gist options
  • Select an option

  • Save chadsten/5886286 to your computer and use it in GitHub Desktop.

Select an option

Save chadsten/5886286 to your computer and use it in GitHub Desktop.
My vhosts setup
# sites-enabled/eco
<VirtualHost *80>
DocumentRoot /var/www/eco/
ServerName eco.localhost
<Directory /var/www/eco/>
Options Indexes FollowSymLinks MultiViews +Includes
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
# /etc/hosts
127.0.0.1 localhost
127.0.1.1 chadsten-ubuntu-desktop
127.0.0.2 eco.localhost
# I had this at 0.1 as well
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# /etc/apache2/httpd.conf
# blank file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment