httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chirouze Olivier" <olivier.chiro...@volvo.com>
Subject RE: [users@httpd] url containing %2F / mod_rewrite
Date Tue, 29 Jan 2008 15:37:38 GMT
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@logilab.fr [mailto:syt@logilab.fr] On Behalf Of 
> Sylvain Thénault
> Sent: 29 January 2008 16:31
> To: users@httpd.apache.org
> Subject: [users@httpd] 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message