I registered a RewriteRule with mod_rewrite, but the substituted URL are wrong.
The rule are:
RewriteRule ^/img/z(0|1)u(.+)\.(gif|jpg|jpeg|png)$ /image-servlet/img/?z=$1&url=$2 [NE,QSA,PT,T=image/$3]
When I access the following URL:
http://localhost/img/z1uABC.jpg
The applied rule redirect to:
http://localhost/image-servlet/img/ABC
The final URL miss the query-string substitution:
?z=$1&url=$2
And are replaced just by:
$2
Anybody can help me with my mistake?
Thank,
And Past