RE: url containing %2F / mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

What exactly do you mean by "keeps seeing"? Did you try to play with the URI (logs, RewriteCond, etc) to make absolutely sure that it's the INPUT URI that is decoded, or could it be the "output" URI (the rewriten one) that is decoded?

Olivier

> -----Original Message-----
> From: syt@xxxxxxxxxx [mailto:syt@xxxxxxxxxx] On Behalf Of 
> Sylvain Thénault
> Sent: 29 January 2008 16:31
> To: users@xxxxxxxxxxxxxxxx
> Subject:  url containing %2F / mod_rewrite
> 
> Hi there!
> 
> I know this topic has already been discussed in the past 
> since I've just
> digged more than 2 hours in various archive without finding 
> any solution
> to this problem. I'm using apache as a proxy to another web server,
> using mod_rewrite/mod_proxy. I need urls like :
> 
>   http://test.fr/%2Fhome
> 
> to be transfered to the underlying server with undecoded %2F. 
> I've added
> 
>   AllowEncodedSlashes On
> 
> to my config, but mod_rewrite keep seing the %2F decoded, eg 
> /home, and
> I can't find any way to get the raw uri (without any encoding/decoding
> processed) and give it as input to my rewrite rules. I know 
> that %2F may
> cause security issues, but that's not the point here, I only 
> want apache
> to act as a good software doing what I'm asking it to do ;) 
> Any hint on
> how can I acheive this ?
> 
> Thanks in advance
> -- 
> Sylvain Thénault                               LOGILAB, Paris (France)
> Formations Python, Zope, Plone, Debian:  
> http://www.logilab.fr/formations
> Développement logiciel sur mesure:       
> http://www.logilab.fr/services
> Python et calcul scientifique:           http://www.logilab.fr/science
> 
> 
> ---------------------------------------------------------------------
> 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
> 

---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux