Changeset 1669 for trunk/packages


Ignore:
Timestamp:
Nov 15, 2008, 11:17:56 PM (16 years ago)
Author:
broder
Message:

Set the trac URL to redirect off-site

Location:
trunk/packages/invirt-web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/debian/changelog

    r1557 r1669  
     1invirt-web (0.0.9) unstable; urgency=low
     2
     3  * Move trac off-site - redirect somewhere else
     4
     5 -- Evan Broder <broder@mit.edu>  Sat, 15 Nov 2008 23:12:57 -0500
     6
    17invirt-web (0.0.8) unstable; urgency=low
    28
  • trunk/packages/invirt-web/files/etc/apache2/sites-available/default

    r1331 r1669  
     1<%
     2from invirt.config import structs as cfg
     3hostname = cfg.web.hostname
     4errmail  = cfg.web.errormail
     5tracuri  = cfg.trac.uri
     6%>
    17NameVirtualHost *:80
    28<VirtualHost *:80>
    3         ServerAdmin webmaster@localhost
     9        ServerAdmin ${errmail}
     10        ServerName ${hostname}:80
    411       
    512        DocumentRoot /var/www/invirt-web
     
    1421        RewriteRule ^/static(.*) - [L]
    1522        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]
    2024        RewriteRule ^/invirt - [L]
    2125        RewriteRule ^/sipb-xen(.*) /invirt$1 [PT]
     
    2327        RewriteRule ^/~ - [L]
    2428        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>
    3329
    3430        ErrorLog /var/log/apache2/error.log
  • trunk/packages/invirt-web/files/etc/apache2/sites-available/ssl.mako

    r1318 r1669  
    2525        RewriteRule ^/overlord/static(.*) /static/$1 [L]
    2626        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]
    3228        RewriteRule ^/kill.cgi - [L]
    3329        RewriteRule ^/~ - [L]
Note: See TracChangeset for help on using the changeset viewer.