durusmail: quixote-users: Fix Trailing Slash bug?
Fix Trailing Slash bug?
2002-06-19
2002-06-19
2002-06-19
Fix Trailing Slash bug?
Patrick K. O'Brien
2002-06-19
[Titus Brown]
>
> I think this is an Apache problem, not a Quixote problem.  Have you tried
> using rewrite rules instead of redirection?
>
> Quixote can hardly be blamed for listening to the Web server
> about URLs ;).

I was using "redirection" in a very loose sense. I do use rewrite rules and
the Quixote fix trailing slash feature is the only thing that isn't working
properly. Do you see anything missing from my rewrite rules?

RewriteEngine on
RewriteBase /
RewriteRule ^$ web/ [redirect=permanent]
RewriteRule ^web$ web/ [redirect=permanent]
RewriteRule ^web/(.*) cgi-bin/web.py/$1 [last]

Thanks.

--
Patrick K. O'Brien
Orbtech
-----------------------------------------------
"Your source for Python software development."
-----------------------------------------------
Web:  http://www.orbtech.com/web/pobrien/
Blog: http://www.orbtech.com/blog/pobrien/
Wiki: http://www.orbtech.com/wiki/PatrickOBrien
-----------------------------------------------




reply