[Twisted-web] redirecting root resource
federicotom at yahoo.it
Sun Feb 24 07:40:05 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
how can I redirect systematically the root url "/" ?
Each time "/" is requested, I want to redirect to "/foo/bar", but this
does not have to compromise other urls such "/baz/zoo", which have to be
handled normally with RootResource.childFactory().
The only idea I have is to define the same docFactory and renderers for
RootResource and BazZoo rend.Page, without doing a redirect: but this is
very sad and, in fact, that's not what I want.
Today is Setting Orange, the 55th day of Chaos in the YOLD 3174
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Twisted-web