Changeset 1335:5fd4026dfb37


Ignore:
Timestamp:
09/08/09 19:09:15 (2 years ago)
Author:
niam
Branch:
default
Message:

configuration updated for nicer URLs in trac and HG web interfaces

Location:
configuration
Files:
2 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • configuration/lighttpd/libdodo.org.conf

    r1292 r1335  
    22$HTTP["host"] =~ "^(www\.)?libdodo\.org$" { 
    33        server.document-root = "/var/www/libdodo.org" 
     4        index-file.names = ("trac") 
    45        fastcgi.server = (  
    5                 "/index.pyfcgi" => 
    6                 ((   
    7                         "socket" =>  "/var/run/lighttpd/lighttpd-libdodo-pyfcgi-" + PID + ".socket", 
    8                         "bin-path" =>  "/var/www/libdodo.org/index.pyfcgi", 
     6                "/" => ( "" => (   
     7                        "socket" =>  "/var/run/lighttpd/lighttpd-libdodo-trac-" + PID + ".socket", 
     8                        "bin-path" =>  "/var/www/libdodo.org/trac", 
    99                        "min-procs" => 1, 
    1010                        "max-procs" =>  2, 
     
    2626$HTTP["host"] =~ "^hg\.libdodo\.org$" { 
    2727        server.document-root = "/var/www/libdodo.org/hg" 
    28         url.rewrite-once = ( 
    29                 "^([/?].*)?$" => "/index.cgi$1", 
     28        index-file.names = ("hg") 
     29        fastcgi.server = (  
     30                "/" => ( "" => (   
     31                        "socket" =>  "/var/run/lighttpd/lighttpd-libdodo-hg-" + PID + ".socket", 
     32                        "bin-path" =>  "/var/www/libdodo.org/hg/hg", 
     33                        "min-procs" => 1, 
     34                        "max-procs" =>  2, 
     35                        "idle-timeout" => 20, 
     36                        "fix-root-scriptname" => "enable", 
     37                ))   
    3038        ) 
    31  
    3239        $HTTP["querystring"] =~ "cmd=unbundle" { 
    3340                auth.require = ( "" => ( 
     
    4148#### 
    4249$HTTP["host"] =~ "^issues\.libdodo\.org$" { 
    43         url.redirect = ( ".*" => "http://libdodo.org/index.pyfcgi/report" ) 
     50        url.redirect = ( ".*" => "http://libdodo.org/trac/report" ) 
    4451} 
    4552#### 
Note: See TracChangeset for help on using the changeset viewer.