Re: [Zope-dev] How to handle "special" sub-directories
Thanks Chris. PathHandler is indeed what I needed. But I have one last problem: It looks like I need to create a PathHandler object (called "ph" for instance), and then the url is www.website.com/ph/member_name What if I want it to work at the root of my website, like this: www.website.com/member_name ? Thanks. Remi.
From: "Chris Withers" <chrisw@nipltd.com> To: "Remi Delon" <rdelon@hotmail.com>, <zope-dev@zope.org> Subject: Re: [Zope-dev] How to handle "special" sub-directories Date: Sat, 14 Apr 2001 18:54:53 +0100
This is like transforming the URL www.website.com/member_name into www.website.com/unique_document?arg=member_name
How can I do that ?
Look at the PathHandler product on zope.org. Python Scripts on theri own might be able to do this too. Futz with the sub-traversal path or whatever it's called :-)
cheers,
Chris
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Create the pathhandler in the root and name it index_html. ----- Original Message ----- From: "Remi Delon" <rdelon@hotmail.com> To: <chrisw@nipltd.com>; <zope-dev@zope.org> Sent: Sunday, April 15, 2001 9:39 PM Subject: Re: [Zope-dev] How to handle "special" sub-directories
Thanks Chris.
PathHandler is indeed what I needed. But I have one last problem: It looks like I need to create a PathHandler object (called "ph" for instance), and then the url is www.website.com/ph/member_name
What if I want it to work at the root of my website, like this: www.website.com/member_name ?
Thanks.
Remi.
From: "Chris Withers" <chrisw@nipltd.com> To: "Remi Delon" <rdelon@hotmail.com>, <zope-dev@zope.org> Subject: Re: [Zope-dev] How to handle "special" sub-directories Date: Sat, 14 Apr 2001 18:54:53 +0100
This is like transforming the URL www.website.com/member_name into www.website.com/unique_document?arg=member_name
How can I do that ?
Look at the PathHandler product on zope.org. Python Scripts on theri own might be able to do this too. Futz with the sub-traversal path or whatever it's called :-)
cheers,
Chris
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
Phil Harris -
Remi Delon