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 3 (modified by rmunn@…, 14 years ago) (diff)

Added link to yet another way to do it

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.

It's also possible to run under SCGI using lighttpd using this  CherryPy recipe and a matching config for lighttpd.

See also  this blog post on running TurboGears under lighttpd/WSGI/SCGI.