Skip to content

Instantly share code, notes, and snippets.

@simonmichael
Created June 4, 2009 18:43
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 simonmichael/123763 to your computer and use it in GitHub Desktop.
Save simonmichael/123763 to your computer and use it in GitHub Desktop.
<VirtualHost *>
ServerName hledger.org
ServerAlias www.hledger.org
Alias /icons/ "/usr/share/apache2/icons/"
RewriteEngine on
ScriptAlias /awstats.pl /usr/lib/cgi-bin/awstats.pl
RewriteCond %{REQUEST_URI} !^/(cgi-bin|awstats)
RewriteRule ^(.*) /repos/hledger/website$1 [L]
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment