On Sunday 24 February 2008, Federico Tomassini wrote:
how can I redirect systematically the root url "/" ?
(assuming you're using twisted.web, not web2 or nevow)
On the root resource, add a child resource with the empty string as its name. That child resource will only be rendered for "/", not for anything deeper in the hierarchy. In the child resource's render() method, issue a redirect.