newbie question: case sensitive folder problem
How can I make a folder on my site case - insensitive in regards to access from URLs. If someone types http://mysite.com/bigfolder/ into their browser, I want it to take them to the Bigfolder, but right now, it produces a missing object error. Any hints? Sorry if this is a silly question - I'm just getting started here. I use zope with pcgi on Apache. -------------- Building highways to reduce traffic is like loosening your belt to reduce obesity
create an other object (DTML Method) called bigfolder with these contents (untested): <dtml-call "RESPONSE.redirect('BigFolder')"> ----- Original Message ----- From: "Alexander N Gould" <agould@student.umass.edu> To: <zope@zope.org> Sent: Wednesday, May 24, 2000 12:43 PM Subject: [Zope] newbie question: case sensitive folder problem
How can I make a folder on my site case - insensitive in regards to access from URLs. If someone types http://mysite.com/bigfolder/ into their browser, I want it to take them to the Bigfolder, but right now, it produces a missing object error. Any hints? Sorry if this is a silly question - I'm just getting started here.
I use zope with pcgi on Apache. -------------- Building highways to reduce traffic is like loosening your belt to reduce obesity
_______________________________________________ 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 )
Alexander N Gould wrote:
How can I make a folder on my site case - insensitive in regards to access from URLs. If someone types http://mysite.com/bigfolder/ into their browser, I want it to take them to the Bigfolder, but right now, it produces a missing object error. Any hints? Sorry if this is a silly question - I'm just getting started here.
I use zope with pcgi on Apache.
You can solve this using a DTML method called bigfolder: <dtml-call "RESPONSE.setBase(Bigfolder.absolute_url())"> <dtml-with Bigfolder> <dtml-var index_html> </dtml-with> However, this won't help you if you want things to be totally case-insensitive, like having "bIgFolDer" direct to "Bigfolder" for example. -- Steve Alexander Software Engineer Cat-Box limited
participants (3)
-
Alexander N Gould -
Phil Harris -
Steve Alexander