[Twisted-web] Nevow with CGI - Using URLs in xml templates

Federico Di Gregorio fog at initd.org
Sun Feb 13 05:13:51 MST 2005


Il giorno dom, 13-02-2005 alle 17:21 +0530, Sridhar Ratna aka Srid ha
scritto:
> I am using [1]  Nevow in CGI environment
> 
> Both relative and absolute URLs cannnot be used in xml templates. 
> Consider the following apache setup.
> 
> http://server/blog is rewritten (mod_rewrite) to
> http://server/cgi-bin/blog/index.py

For files that have absolute positions, use absolute URLS and a
VirtualHostMonster (import vhost ...).

federico




More information about the Twisted-web mailing list