httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Ionescu <robsie...@googlemail.com>
Subject Re: [users@httpd] RewriteRule works on 1.3 but not 2.2
Date Tue, 28 Mar 2006 00:44:08 GMT
Graham Frank wrote:
> RewriteRule ^album/([a-z0-9]*)/category/([0-9-]*)/img/([0-9-]*)/?$   
> displayimage.php?album=$1&cat=$2&pos=$3

Did you check the RewriteLog? So you're using the rule in your 
<directory...> section? Because it is per-dir context (and since you 
have access to httpd.conf, there is no need to use .htaccess files).

The RegEx is not more strict, there is (was?) a normalization on the 
filename level from // to /, so the regEx would match against an input 
string (here the local filepath) not containing a double slash anymore.

-- 
Robert

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