Page is a not externally linkable
jdMorgan - 12:19 am on Jun 13, 2003 (gmt 0)
The problem is that you have an [OR] flag on your last RewriteCond. Since [OR]s only apply to RewriteConds, this is blowing up your RewriteRule. Your syntax is otherwise fine as-is. Do not confuse prefix-matching syntax, as used in Redirect and Deny directives, with the extended regular expressions pattern-matching used by mod_rewrite. Beware of the many examples posted here with incorrect start and/or end anchoring. The "^" and "$" symbols have very specific functions, and adding or removing either of them will change the pattern-matching drastically. The regular expressions tutorial linked from this Introduction to mod_rewrite [webmasterworld.com] post is quite helpful. Sorry for any typos and terseness - typing in a hurry. Jim <edit>Oh, and make sure you have a space preceding the exclamation point in any RewriteRules or RewriteConds.</edit>
NancyB,