[Twisted-web] livepage

Thomas HERVE therve at free.fr
Sun May 1 10:45:13 MDT 2005


Quoting Christopher Zorn <christopher.zorn at gmail.com>:

> Hey, I was using livepage through a proxy. I had to make a small 
> change to get
> it to work, I just want to let you guys know.
>
> def render_liveglue(self, ctx, data):
>   #return tags.script(src=url.here.child('nevow_glue.js'))
>   return tags.script(src='nevow_glue.js')
>
> url.here gave the url that was on the server behind the firewall.

As I was the first to make this mistake, I'll answer : if you use Nevow 
behing a
proxy (really, it's a proxy ? what did you mean by firewall ?), you 
should look
after nevow.vhost.VHostMonsterResource.

Good luck,

-- 
Thomas




More information about the Twisted-web mailing list