apache - .htaccess newb - RewriteRule not matching 2nd rule, why? -
i migrating isapi_rewrite .htaccess. i'm having difficulty , think it's basic, i'm not terribly familiar .htaccess.
i have 2 rules so:
rewriterule ^testing/ /test/index.html?test=1 [nc] rewriterule ^testing/foo-bar/ /test/index.html?test=2 [nc]
yet second rule never matches. if go http://mydomain.com/testing/foo-bar/ see first rule. why that? , can fixed?
i have many rules (outputted database write .htaccess file )and ordering them in particular order isn't possible.
i'm pretty sure mistake not including dollar sign.
i'm not think should this:
rewriterule ^testing$ /test/index.html?test=1 [nc] rewriterule ^testing/foo-bar$ /test/index.html?test=2 [nc]
Comments
Post a Comment