- Timestamp:
- Nov 15, 2008, 11:17:56 PM (16 years ago)
- Location:
- trunk/packages/invirt-web/files/etc/apache2/sites-available
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/files/etc/apache2/sites-available/default
r1331 r1669 1 <% 2 from invirt.config import structs as cfg 3 hostname = cfg.web.hostname 4 errmail = cfg.web.errormail 5 tracuri = cfg.trac.uri 6 %> 1 7 NameVirtualHost *:80 2 8 <VirtualHost *:80> 3 ServerAdmin webmaster@localhost 9 ServerAdmin ${errmail} 10 ServerName ${hostname}:80 4 11 5 12 DocumentRoot /var/www/invirt-web … … 14 21 RewriteRule ^/static(.*) - [L] 15 22 RewriteRule ^/admin/static(.*) /static/$1 [L] 16 RewriteRule ^/trac.fcgi(.*) - [L] 17 RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L] 18 RewriteRule ^/trac/login(.*) https://xvm.mit.edu/trac/login$1 [L] 19 RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L] 23 RewriteRule ^/trac(.*) ${trac.uri}$1 [R,L] 20 24 RewriteRule ^/invirt - [L] 21 25 RewriteRule ^/sipb-xen(.*) /invirt$1 [PT] … … 23 27 RewriteRule ^/~ - [L] 24 28 RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/$1 [L] 25 26 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/27 <Directory "/usr/lib/cgi-bin">28 AllowOverride None29 Options ExecCGI -MultiViews +SymLinksIfOwnerMatch30 Order allow,deny31 Allow from all32 </Directory>33 29 34 30 ErrorLog /var/log/apache2/error.log -
trunk/packages/invirt-web/files/etc/apache2/sites-available/ssl.mako
r1318 r1669 25 25 RewriteRule ^/overlord/static(.*) /static/$1 [L] 26 26 RewriteRule ^/admin/static(.*) /static/$1 [L] 27 RewriteRule ^/trac.fcgi(.*) - [L] 28 RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L] 29 RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L] 30 RewriteRule ^/var(.*) - [L] 31 RewriteRule ^/wiki(.*) - [L] 27 RewriteRule ^/trac(.*) ${trac.uri}$1 [R,L] 32 28 RewriteRule ^/kill.cgi - [L] 33 29 RewriteRule ^/~ - [L]
Note: See TracChangeset
for help on using the changeset viewer.