Skip to content

Instantly share code, notes, and snippets.

@waynelkh
Last active August 29, 2015 14:13
Show Gist options
  • Save waynelkh/774f12c00e2ee59b3e40 to your computer and use it in GitHub Desktop.
Save waynelkh/774f12c00e2ee59b3e40 to your computer and use it in GitHub Desktop.
/etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerName localhost
DocumentRoot /Library/WebServer/Documents/
</VirtualHost>
<VirtualHost *:80>
ServerName waynelkh.com
ServerAlias www.waynelkh.com
DocumentRoot /Users/waynelkh/Sites/
ErrorLog "/private/var/log/apache2.waynelkh.error.log"
CustomLog "/private/var/log/apache2.waynelkh.log" common
ServerAdmin waynelkh@hotmail.com
<Directory "/User/waynelkh/Sites/">
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