2 from invirt.config import structs as cfg
3 hostname = cfg.web.hostname
4 errmail = cfg.web.errormail
10 ServerName ${hostname}:80
12 DocumentRoot /var/www/invirt-web
13 <Directory /var/www/invirt-web>
14 Options Indexes FollowSymLinks MultiViews ExecCGI
21 RewriteRule ^/static(.*) - [L]
22 RewriteRule ^/admin/static(.*) /static/$1 [L]
23 RewriteRule ^/trac(.*) ${tracuri}$1 [R,L]
24 RewriteRule ^/invirt - [L]
25 RewriteRule ^/(git-favicon\.png|git-logo\.png|gitweb\.css|gitweb\.js)$ - [L]
26 RewriteRule ^/gitweb(/.*)?$ - [L]
27 RewriteRule ^/(.*) /var/www/invirt-web/unauth.fcgi/$1 [L]
29 ErrorLog /var/log/apache2/error.log
31 # Possible values include: debug, info, notice, warn, error, crit,
35 CustomLog /var/log/apache2/access.log combined