Re: [EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Robert Ionescu
Clodoaldo Pinto wrote: Would it work with the internal function MapType to escape the ampersand? No, because the '&' is a valid character in the URL-path, therefore it would not be escaped. -- Robert - The official User-To-

Re: [EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Clodoaldo Pinto
2006/5/14, Robert Ionescu <[EMAIL PROTECTED]>: But anyway: Arre trying to substitute one char with an other? That won't work. In order to match the map, the back reference $1 must be '&' and only '&', 'abc&cd' wouldn't match the map. Would it work with the internal function MapType to escape

Re: [EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Robert Ionescu
Clodoaldo Pinto wrote: rewrite.log attached There is one second difference between each processing, that's a lot. The request gets mapped to the file system but mod_rewrite starts again back from the uri level. Hm... I'll try to reproduce it sometime. But anyway: Arre trying to substitute o

Re: [EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Robert Ionescu
Clodoaldo Pinto wrote: # This RewriteRule causes a redirection loop: There shouldn't be any redirect at all. No internal, no external redirect. And the index.php itself is excluded fron the RewriteRule with a condition. Can you post/attach/upload the RewriteLog with Rewriteloglevel 5?

[EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Clodoaldo Pinto
I maintain a mediawiki site and I am trying to use short urls as explained here: http://meta.wikimedia.org/wiki/Using_a_very_short_URL#Patching_Apache Apache/2.0.53 (Fedora 3) As my httpd server does not have the int:ampescape patch and I want to avoid patching it I'm using a simple txt map file