httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jori Mantysalo <Jori.Mantys...@uta.fi>
Subject [users@httpd] RewriteRule, [P] and space on URL
Date Thu, 27 Dec 2007 12:03:12 GMT
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two

There is per-directory .htaccess that says

RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P]

and this gives $1 only part to first space. However, on

http://www.uskonnonvapaus.fi/apache-bug/2/one%20two

there is

RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [R]

and it works. So it seems that when using [P] -directive and rewriting URL 
that contains space there is some bug. Or is this only feature, or should 
I do something special to get this working?

-- 
Jori Mäntysalo

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