[Zope] Newbie: Case independent URLs?

Adam Manock abmanock@earthlink.net
Tue, 24 Sep 2002 08:07:54 -0400


Hmm... 4 sets of proxypass rules ought to do it... :-)

Here are the first two.. assuming the folder is really named "familyalbum" 
in Zope

ProxyPass /FamilyAlbum 
http://zopehost:8080/VirtualHostBase/http/www.mysite.com/familyalbum/VirtualHostRoot/_vh_FamilyAlbum
ProxyPassReverse /FamilyAlbum 
http://zopehost:8080/VirtualHostBase/http/www.mysite.com/familyalbum/VirtualHostRoot/_vh_FamilyAlbum

ProxyPass /familyAlbum 
http://zopehost:8080/VirtualHostBase/http/www.mysite.com/familyalbum/VirtualHostRoot/_vh_familyAlbum
ProxyPassReverse /familyAlbum 
http://zopehost:8080/VirtualHostBase/http/www.mysite.com/familyalbum/VirtualHostRoot/_vh_familyAlbum

Adam

At 06:58 AM 9/24/02, Robert Allyn wrote:
>I think I will give this a shot.  It shouldn't be too hard to force 
>everything lowercase before it is passed to Zope.  Now to investigate 
>rewrite rules in Apache. :-)  (always something new to learn...)
>
>- Robert
>
>At 05:36 PM 9/24/2002 +0800, Tim Hoffman wrote:
> >I believe all URL's are case dependant.
> >
> >The only way I would attempt it is to do the URL rewrite in apache to
> >the correct case before passing it to Zope via mod_proxy or however else
> >you are doing it.
> >
> >Rgds
> >
> >Tim
> >
> >On Tue, 2002-09-24 at 17:01, Robert Allyn wrote:
> >> Hi,
> >>
> >> I am new to Zope.  It seems all url's in Zope are case dependant.  Is 
> this correct? Can I change it?
> >>
> >> I want family to be able to get to my photo album by entering
> >> www.mysite.com/FamilyAlbum/  or
> >> www.mysite.com/familyAlbum/ or
> >> www.mysite.com/Familyalbum/ or
> >> www.mysite.com/familyalbum/
> >>
> >> Is there a standard technique for dealing with this?  I tried 
> searching the archives, but could not find relevant information (my poor 
> searching ability I am sure).
> >>
> >> I am running Zope behind Apache on Win2k server.
> >>
> >> Thanks for the help.
> >>
> >> - Robert
> >>
> >>
> >> _______________________________________________
> >> Zope maillist  -  Zope@zope.org
> >> http://lists.zope.org/mailman/listinfo/zope
> >> **   No cross posts or HTML encoding!  **
> >> (Related lists -
> >>  http://lists.zope.org/mailman/listinfo/zope-announce
> >>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )