Skip to content

Instantly share code, notes, and snippets.

@singleseeker
Created January 11, 2014 07:09
Show Gist options
  • Save singleseeker/8368011 to your computer and use it in GitHub Desktop.
Save singleseeker/8368011 to your computer and use it in GitHub Desktop.
http-vhost.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/seeker/vhost/chuang86"
ServerName www.v2.chuang86.com
ServerAlias v2.chuang86.com
ErrorLog "/private/var/log/apache2/v2.chuang86.com-error_log"
CustomLog "/private/var/log/apache2/v2.chuang86.com-access_log" common
<Directory "/Users/seeker/vhost/chuang86">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment