source: trunk/packages/invirt-web/files/etc/apache2/sites-available/default @ 1331

Last change on this file since 1331 was 1331, checked in by price, 15 years ago

/sipb-xen -> /invirt in serving apt repo

File size: 1.4 KB
Line 
1NameVirtualHost *:80
2<VirtualHost *:80>
3        ServerAdmin webmaster@localhost
4       
5        DocumentRoot /var/www/invirt-web
6        <Directory /var/www/invirt-web>
7                Options Indexes FollowSymLinks MultiViews ExecCGI
8                AllowOverride None
9                Order allow,deny
10                allow from all
11        </Directory>
12
13        RewriteEngine On
14        RewriteRule ^/static(.*) - [L]
15        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]
20        RewriteRule ^/invirt - [L]
21        RewriteRule ^/sipb-xen(.*) /invirt$1 [PT]
22        RewriteRule ^/kill.cgi - [L]
23        RewriteRule ^/~ - [L]
24        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 None
29                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
30                Order allow,deny
31                Allow from all
32        </Directory>
33
34        ErrorLog /var/log/apache2/error.log
35
36        # Possible values include: debug, info, notice, warn, error, crit,
37        # alert, emerg.
38        LogLevel notice
39
40        CustomLog /var/log/apache2/access.log combined
41        ServerSignature On
42
43    Alias /doc/ "/usr/share/doc/"
44    <Directory "/usr/share/doc/">
45        Options Indexes MultiViews FollowSymLinks
46        AllowOverride None
47        Order deny,allow
48        Deny from all
49        Allow from 127.0.0.0/255.0.0.0 ::1/128
50    </Directory>
51
52</VirtualHost>
Note: See TracBrowser for help on using the repository browser.