Ignore:
Timestamp:
May 9, 2008, 2:15:03 AM (17 years ago)
Author:
price
Message:

Apache config to allow that front page

Review of this patch is particularly welcome, since I don't
actually know entirely what I'm doing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/files/etc/apache2/sites-available/default

    r509 r511  
    33        ServerAdmin webmaster@localhost
    44       
    5         DocumentRoot /var/www/
    6         <Directory /var/www/>
     5        DocumentRoot /var/www/sipb-xen-www
     6        <Directory /var/www/sipb-xen-www>
    77                Options Indexes FollowSymLinks MultiViews ExecCGI
    88                AllowOverride None
     
    1717
    1818        RewriteEngine On
    19         #RewriteRule ^/trac - [L]
     19        RewriteRule ^/static(.*) - [L]
    2020        RewriteRule ^/trac.fcgi(.*) - [L]
    2121        RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L]
     
    2323        RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L]
    2424        RewriteRule ^/sipb-xen - [L]
    25         RewriteRule ^(.*) https://sipb-xen-dev.mit.edu$1
     25        RewriteRule ^/(.*) /var/www/sipb-xen-www/main.py/$1 [L]
    2626
    2727        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Note: See TracChangeset for help on using the changeset viewer.