Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 1 (modified by rmunn@…, 14 years ago) (diff)

Posted sample, simple lighttpd configuration, as per mailing list exchange from last week

This exchange was posted on the turbogears-discuss mailing list, and I wanted to make sure it didn't get lost.

I have not yet tested this, so be aware that it could be completely wrong. Please modify it if it's incorrect or if you just have improvements to suggest.

In the  thread titled "lighttpd, Anyone?", Elvelind Grandin posted his sample configuration for using lighttpd with TurboGears:

$HTTP["host"] == "" {
        proxy.server = ( "" => (
                                "host" => "",
                                "port" => 1082

In this example, TurboGears is running on port 1082, and lighttpd is running on port 80. Any HTTP request that comes in for the server is proxied to localhost:1082, and thus served up by TurboGears. Presumably (although I haven't tried this), you could let lighttpd serve up static pages by putting them in a different subdomain like "" or "". I'm sure there are also other configurations that could be tried -- perhaps someone will post them.