Changeset 1398:23fa07f8e318


Ignore:
Timestamp:
11/06/09 18:26:41 (2 years ago)
Author:
niam
Branch:
default
Message:

configuration: trac use web-based auth - drop http auth from config

File:
1 edited

Legend:

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

    r1336 r1398  
    33        server.document-root = "/var/www/libdodo.org" 
    44        index-file.names = ("trac") 
    5         fastcgi.server = (  
    6                 "/trac" => ( "/trac" => (   
     5        fastcgi.server = ( 
     6                "/trac" => ( "/trac" => ( 
    77                        "socket" =>  "/var/run/lighttpd/lighttpd-libdodo-trac-" + PID + ".socket", 
    88                        "bin-path" =>  "/var/www/libdodo.org/trac", 
     
    1111                        "idle-timeout" => 20, 
    1212                        "fix-root-scriptname" => "enable", 
    13                 ))   
     13                )) 
    1414        ) 
    15         $HTTP["url"] =~ "^/.*login" { 
    16                 auth.require = ( 
    17                         "/" => ( 
    18                                 "method"  => "basic", 
    19                                 "realm"   => "libdodo Trac", 
    20                                 "require" => "valid-user" 
    21                         ), 
    22                 ) 
    23         } 
    2415} 
    2516#### 
     
    2718        server.document-root = "/var/www/libdodo.org/hg" 
    2819        index-file.names = ("hg") 
    29         fastcgi.server = (  
    30                 "/hg" => ( "hg" => (   
     20        fastcgi.server = ( 
     21                "/hg" => ( "hg" => ( 
    3122                        "socket" =>  "/var/run/lighttpd/lighttpd-libdodo-hg-" + PID + ".socket", 
    3223                        "bin-path" =>  "/var/www/libdodo.org/hg/hg", 
     
    3526                        "idle-timeout" => 20, 
    3627                        "fix-root-scriptname" => "enable", 
    37                 ))   
     28                )) 
    3829        ) 
    3930        $HTTP["querystring"] =~ "cmd=unbundle" { 
Note: See TracChangeset for help on using the changeset viewer.