| Line | |
|---|
| 1 | #### |
|---|
| 2 | $HTTP["host"] =~ "^(www\.)?libdodo\.org$" { |
|---|
| 3 | server.document-root = "/var/www/libdodo.org" |
|---|
| 4 | index-file.names = ("trac") |
|---|
| 5 | proxy.server = ( |
|---|
| 6 | "" => ( "trac" => ( |
|---|
| 7 | "host" => "127.0.0.1", |
|---|
| 8 | "port" => 9000 |
|---|
| 9 | ) |
|---|
| 10 | ) |
|---|
| 11 | ) |
|---|
| 12 | } |
|---|
| 13 | #### |
|---|
| 14 | $HTTP["host"] =~ "^hg\.libdodo\.org$" { |
|---|
| 15 | server.document-root = "/var/www/libdodo.org/hg" |
|---|
| 16 | index-file.names = ("hg") |
|---|
| 17 | fastcgi.server = ( |
|---|
| 18 | "/hg" => ( "hg" => ( |
|---|
| 19 | "socket" => "/var/run/lighttpd/lighttpd-libdodo-hg-" + PID + ".socket", |
|---|
| 20 | "bin-path" => "/var/www/libdodo.org/hg/hg", |
|---|
| 21 | "min-procs" => 1, |
|---|
| 22 | "max-procs" => 1, |
|---|
| 23 | "idle-timeout" => 20, |
|---|
| 24 | "fix-root-scriptname" => "enable", |
|---|
| 25 | )) |
|---|
| 26 | ) |
|---|
| 27 | $HTTP["querystring"] =~ "cmd=unbundle" { |
|---|
| 28 | auth.require = ( "" => ( |
|---|
| 29 | "method" => "basic", |
|---|
| 30 | "realm" => "libdodo Mercuial Repositiry", |
|---|
| 31 | "require" => "valid-user" |
|---|
| 32 | ) |
|---|
| 33 | ) |
|---|
| 34 | } |
|---|
| 35 | } |
|---|
| 36 | #### |
|---|
| 37 | $HTTP["host"] =~ "^issues\.libdodo\.org$" { |
|---|
| 38 | url.redirect = ( ".*" => "http://libdodo.org/report" ) |
|---|
| 39 | } |
|---|
| 40 | #### |
|---|
Note: See
TracBrowser
for help on using the repository browser.