VirtualHost ServerName hg piranha org ua Location AuthUserFile home de

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<VirtualHost *>
ServerName hg.piranha.org.ua
<Location />
AuthUserFile /home/dev/trac.htpass
AuthName "restricted"
AuthType Basic
<Limit POST PUT>
require valid-user
</Limit>
</Location>
WSGIScriptAlias / /home/dev/hgwebdir/piranha.wsgi
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
</VirtualHost>