[Twisted-web] separate sites and server
James Y Knight
foom at fuhm.net
Mon Sep 13 15:24:33 MDT 2004
On Sep 13, 2004, at 6:55 AM, Mary Gardiner wrote:
> - it doesn't set the right forward headers for Nevow, so all of
> "what is my hostname?" stuff will return "localhost" (in particular,
> this is a problem with Nevow's static.File, which likes to add a
> trailing / to directories and will do this by redirecting to...
> To overcome the second problem, I've ended up having to hard-code my
> Nevow application's hostname pending a better proxy framework.
You're supposed to use VHostMonster to solve this. It mutates the
effective host of the request for just this reason.
More information about the Twisted-web