Hi all,
(Q1) I'd like to know if it's possible to negate a regular expression in general, and in htaccess files in particular, and if so, what's the operator ?
For instance, I'd like to negate the regexp
[tt]
^Mozilla
[/tt]
...so in human language, the criteria gives "does not start by 'Mozilla'"
(Q2) Also, do we have logical operators at hand within htaccess files ?
Browsed the docs/newsgroups/web and couldn't find any answer (I'm afraid answer to Q2 is no, but c'mon, there must be solutions for Q1 ! ;-) )
Thanks a lot for any hint.
(Q1) I'd like to know if it's possible to negate a regular expression in general, and in htaccess files in particular, and if so, what's the operator ?
For instance, I'd like to negate the regexp
[tt]
^Mozilla
[/tt]
...so in human language, the criteria gives "does not start by 'Mozilla'"
(Q2) Also, do we have logical operators at hand within htaccess files ?
Browsed the docs/newsgroups/web and couldn't find any answer (I'm afraid answer to Q2 is no, but c'mon, there must be solutions for Q1 ! ;-) )
Thanks a lot for any hint.