Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Last active December 21, 2015 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyDoggy/6243844 to your computer and use it in GitHub Desktop.
Save seyDoggy/6243844 to your computer and use it in GitHub Desktop.
Basic virtual host set up.
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1:80>
ServerAdmin webmaster@localhost
ServerName site2
DocumentRoot /sites/site2/www/
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /sites/site2/logs/error.log
LogLevel warn
CustomLog /sites/site2/logs/access.log combined
ServerSignature On
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment