I’m having an issue with a catch-all rule in .htaccess that is over-riding all my other rules above it.
RewriteRule ^images/(.*).gif$ media/gif/$1.gif [L]
RewriteRule ^images/(.*).jpg$ media/jpg/$1.jpg [L]
RewriteRule ^(.*)$ dispatch.php?uri=$1 [C]
How can I prevent the catch-all from executing if a match is found above it?
you can use a rewrite condition
i wrote it widouth verifiying