httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Thénault <sylvain.thena...@logilab.fr>
Subject Re: [users@httpd] url containing %2F / mod_rewrite
Date Tue, 29 Jan 2008 16:43:58 GMT
On Tue, Jan 29, 2008 at 05:10:06PM +0100, Sylvain Thénault wrote:
> On Tue, Jan 29, 2008 at 05:07:18PM +0100, Sylvain Thénault wrote:
> > On Tue, Jan 29, 2008 at 03:39:22PM +0000, Nick Kew wrote:
> > > On Tue, 29 Jan 2008 16:31:18 +0100
> > > Sylvain Thénault <sylvain.thenault@logilab.fr> wrote:
> > > 
> > > >  Any hint on how can I acheive this ?
> > > 
> > > Upgrade to 2.2.8 and read the CHANGES file.  Then you'll
> > > know what to look for in the docs (either -B or nocanon,
> > > depending on how you're configuring it).
> > 
> > Also I can't find any mention of "-B" in the CHANGES file and this is
> > not an easy word to google for... Would you have more info about this?
> 
> ok I've found it, I guess you're talking about the B option of rewrite
> rules :)

so... I've been playing with the B flag of RewriteRule without much more
success. I've now the inverse problem : all unescaped special
characters such as / always get encoded, eg if I access to

  myserver/path/something

the underlying server is seeing

  /path%2Fsomething

gaaargl.. Maybe I misunderstand what can be acheived with url
encoding/decoding. I thought that for instance %2F was allowing me to
have url such as

  myserver/path/sub%2Fpath/subsubpath

which would be interpreted as an uri path containing 3 parts, "path",
"sub/path" (with a slash in the middle which shouldn't be used as
separator) and "subsubpath". Is that correct?

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


Mime
View raw message