MLからの引用。
I would like to run my TG application behind Apache httpd. In order to do this I'm trying to use the following rewrite rule: RewriteRule ^/myapp(.*) http://127.0.0.1:8080$1 [P]
In your dev.cfg or prod.cfg, put: server.webpath="/myapp"
as Neil says, the way to do this now in TG is by setting server.webpath. Note that there currently is a bug with webpath and static content, see http://trac.turbogears.org/turbogears/ticket/1016