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 ^/kill.cgi - [L]
26 RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/unauth/$1 [L]
28 ErrorLog /var/log/apache2/error.log
30 # Possible values include: debug, info, notice, warn, error, crit,
34 CustomLog /var/log/apache2/access.log combined
37 Alias /doc/ "/usr/share/doc/"
38 <Directory "/usr/share/doc/">
39 Options Indexes MultiViews FollowSymLinks
43 Allow from 127.0.0.0/255.0.0.0 ::1/128