Jul 31, 2008 at 9:39 PM
Edited Jul 31, 2008 at 10:10 PM
What specifically are you trying to figure out?
The original question from way back - the rule and condition that works for me is this:
RewriteCond $1 ^(?!(index\.php|images|robots\.txt|styles|js|inc))
RewriteRule ^/(.*)$ /index.php/$1 [L]
You don't need a condition on that rule. You could just put the entire thing together in the rule itself:
RewriteRule ^/(?!(index\.php|images|robots\.txt|styles|js|inc))(.*)$ /index.php/$2 [L]
I don't think the PCRE regular expression engine supports the syntax that has the negation symbol (!) at the beginning of the pattern. But you can stilla ccomplish what you want with a negative lookahead.