Skip to content

Instantly share code, notes, and snippets.

@phawk
Created January 14, 2012 12:03
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 phawk/1611181 to your computer and use it in GitHub Desktop.
Save phawk/1611181 to your computer and use it in GitHub Desktop.
# domain: phawk.co.uk & peteyhawkins.com
<VirtualHost *:80>
ServerName phawk.co.uk
ServerAlias www.phawk.co.uk www.peteyhawkins.com peteyhawkins.com
ProxyPass / http://localhost:9000/
ProxyPassReverseCookieDomain localhost your.domain
ProxyPreserveHost on
<Location />
ProxyPassReverse /
</Location>
# Custom log file locations
LogLevel warn
ErrorLog /logs/phawk.co.uk/error.log
CustomLog /logs/phawk.co.uk/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment