[Twisted-web] writing a twisted wrapper in nevow

Jason Mobarak jason.mobarak at gmail.com
Thu Jul 14 12:12:06 MDT 2005


On 7/14/05, Andreas De Stefani <andreas.destefani at ucd.ie> wrote:
> i was trying to forward a "not nevow" request coming from the twisted
> website to the corresponding twisted python class by using locatechild
> and just returning the twisted Resource which implements it... it
> suprisingly worked for a very simple testsite, but it didntt work if
> there are any hrefs to static html, picture links etc.
> 
> does anybody know how i could run twisted and nevow code mixed together?

This is how I mix nevow applications and static content:

http://deadbeefbabe.org/dbb.tac.txt

...basically the site is static but for certain URLs the requests get
proxied to a NevowSite site instance.

,,Jason



More information about the Twisted-web mailing list