httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] escaped input mod_rewrite
Date Mon, 01 Nov 2004 14:05:53 GMT
On Mon, 01 Nov 2004 11:43:55 +0300, Vadim N. Lyalikov
<vadim-lyalikov@yandex.ru> wrote:
>     Apache/1.3.9 Server at br Port 80
> 
> I need:
>     the same as in first letter.
> 
> Could you, please, give me RewriteCond example, which can parse URIs
> with '%' character inside?

To start with, that version of apache is terminally out-dated.  So it
is practically useless to give any advice.

But even with modern versions, dealing with character escaping in
mod_rewrite is complicated.  It is essential to use the RewriteLog to
find out what is really going on.  And you may need to match against
the decoded character in some places.  (For a space, you'll need to
surround everything in quotes.)

Joshua.

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