VirtualHost ServerName hg dottedmag net ErrorLog var log apache2 hg-er

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<VirtualHost *>
ServerName hg.dottedmag.net
ErrorLog /var/log/apache2/hg-error.log
CustomLog /var/log/apache2/hg-access.log combined
<Location />
PythonPath "sys.path + ['/srv/www/hg']"
SetHandler mod_python
PythonInterpreter hg
PythonHandler modpython_gateway::handler
PythonOption wsgi.application hgweb::app
AuthUserFile /srv/www/hg/passwords
AuthName "Hg"
AuthType Digest
</Location>
</VirtualHost>