root/misc/50-trac-demo.conf

Revision 4, 0.6 KB (checked in by torsten, 3 years ago)

Add the lighty config file for the demo trac instance.

Line 
1server.modules   += ( "mod_fastcgi" )
2
3fastcgi.server += ("/trac" =>
4        ((
5          "socket" => "/tmp/trac-fastcgi.sock",
6          "bin-path" => "/usr/share/pyshared/trac/web/fcgi_frontend.py",
7          "check-local" => "disable",
8          "max-procs" => 3,
9          "bin-environment" => ("TRAC_ENV" => "/srv/trac/env/demo")
10        ))
11)
12
13$HTTP["url"] =~ "^/trac/login$" {
14        auth.backend = "htdigest",
15        auth.backend.htdigest.userfile = "/srv/trac/auth/demo/users",
16        auth.require = ("" => (
17            "method"  => "digest",
18            "realm"   => "trac demo realm",
19            "require" => "valid-user"
20        ))
21}
Note: See TracBrowser for help on using the browser.