Hello André, --- André Malo <nd@xxxxxxxxx> wrote: > * <ogjunk-httpd1@xxxxxxxxx> wrote: > > > Hi, > > > > I "solved" this problem by substituting "%20" with "+" characters. > > Apparently, mod_rewrite doesn't convert "+" to spaces as it does > with > > "%20". > > Your "problem" is home-made. mod_rewrite always works on the > unescaped > URI-path and you're explicitly specifying by using [NE] that no > escaping > on the final string should be done. So you end up with unescaped > characters > in this final string (not only spaces will be a problem). Actually, that [NE] was there only temporarily. I added it while I was trying to tell mod_rewrite _not_ to decode %20 to a space. I tried it with and without [NE], and it worked the same way in both situation, translating %20 to a space, and causing 400 Bad Request. > > I say "solved", as this is a hack, and I hate hacks... :( > > Ha! Then mod_rewrite shouldn't is not a tool for you at all ;-) :) Maybe, but it's the best tool around for this type of stuff, as far as I know. Otis --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx