[thelist] mod_rewrite rules

Robert Gormley robert at pennyonthesidewalk.com
Fri Jan 18 20:42:45 CST 2008

I'm struggling to figure out an appropriate rule to rewrite everything
below a directory to index.php, but for two directories, say dir1 and

My current rule is:

RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

And that works fine as is... but now I need to add two subdirectories
that won't be handled by this... what would an appropriate rule be?


More information about the thelist mailing list