source: trunk/packages/sipb-xen-www/files/etc/apache2/sites-available/default @ 604

Last change on this file since 604 was 595, checked in by ecprice, 16 years ago

Expose the script to kill the fastcgi processes.

File size: 1.3 KB
Line 
1NameVirtualHost *:80
2<VirtualHost *:80>
3        ServerAdmin webmaster@localhost
4       
5        DocumentRoot /var/www/sipb-xen-www
6        <Directory /var/www/sipb-xen-www>
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 ^/trac.fcgi(.*) - [L]
16        RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L]
17        RewriteRule ^/trac/login(.*) https://xvm.mit.edu/trac/login$1 [L]
18        RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L]
19        RewriteRule ^/sipb-xen - [L]
20        RewriteRule ^/kill.cgi - [L]
21        RewriteRule ^/(.*) /var/www/sipb-xen-www/main.fcgi/$1 [L]
22
23        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
24        <Directory "/usr/lib/cgi-bin">
25                AllowOverride None
26                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
27                Order allow,deny
28                Allow from all
29        </Directory>
30
31        ErrorLog /var/log/apache2/error.log
32
33        # Possible values include: debug, info, notice, warn, error, crit,
34        # alert, emerg.
35        LogLevel notice
36
37        CustomLog /var/log/apache2/access.log combined
38        ServerSignature On
39
40    Alias /doc/ "/usr/share/doc/"
41    <Directory "/usr/share/doc/">
42        Options Indexes MultiViews FollowSymLinks
43        AllowOverride None
44        Order deny,allow
45        Deny from all
46        Allow from 127.0.0.0/255.0.0.0 ::1/128
47    </Directory>
48
49</VirtualHost>
Note: See TracBrowser for help on using the repository browser.