You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andrea <so...@polin.it> on 2003/01/04 11:52:40 UTC
[users@httpd] A question about RewriteCond
Hi,
I need to compare two values into a RewriteCond
I have these rules:
RewriteCond %{REQUEST_URI} ^/index/([a-z0-9]+)/([a-z0-9]+)/$
RewriteCond %1 =%2
RewriteRule . /index/%1/ [R=permanent,NS]
the problem is that the second line compare for example:
news =%2
so %2 is not evaluated in the CondPattern
is it possible ?
Thanks,
Mr Andrea, Italy