[Zope3-Users] Adding another "special" traversal component type

Jonathan dev101 at magma.ca
Wed Sep 20 10:12:35 EDT 2006


----- Original Message ----- 
From: "FB" <fbo2 at gmx.net>
To: <zope3-users at zope.org>
Sent: Wednesday, September 20, 2006 9:49 AM
Subject: [Zope3-Users] Adding another "special" traversal component type


> Hi,
>
> I'd like to make URLs like
>
> http://servername/~username
>
> possible on my Zope3 server which should instantly redirect a
> visitor to one of my site user's home pages.
>
> Is this possible? Of course, the answer ist yes (by patching
> zope.traversing.adapters.traversePathElement) - but is there
> a more Zope3ish way to do that?

If you are using apache you could do this with a rewrite rule (no zope 
patching required at all!)


Jonathan 




More information about the Zope3-users mailing list