Forum Moderators: phranque
RewriteRule ^new\/(.+)\.htm\?a=(.+)$ script.php?x=$1&y=$2
# RewriteRule ^new\/(.+)\.htm$ script.php?x=$1
[localhost...]
returns 404
And if I uncomment the 2nd rule, it works obeying that rule.
Can anyone pl me what Im doing wrong here?
Using Apache 2.x
Thanx
RewriteCond %{QUERY_STRING} ^a=([^&]+)$
RewriteRule ^new\/([^.]+)\.htm$ script.php?x=$1&y=%1 [L]
Jim