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