Re: [EMAIL PROTECTED] negative regex in SetEnvIf

2006-06-09 Thread Joshua Slive
On 6/9/06, Proniewski Patrick <[EMAIL PROTECTED]> wrote: On 9 juin 06, at 15:18, Joshua Slive wrote: > I could probably come up with a way to do this with mod_setenvif, but > when your config crosses a certain level of complexity, it is usually > easier to just bite the bullet and pull out mod_r

Re: [EMAIL PROTECTED] negative regex in SetEnvIf

2006-06-09 Thread Proniewski Patrick
On 9 juin 06, at 15:18, Joshua Slive wrote: I could probably come up with a way to do this with mod_setenvif, but when your config crosses a certain level of complexity, it is usually easier to just bite the bullet and pull out mod_rewrite. It has a much more flexible config syntax and therefor

Re: [EMAIL PROTECTED] negative regex in SetEnvIf

2006-06-09 Thread Joshua Slive
On 6/9/06, Proniewski Patrick <[EMAIL PROTECTED]> wrote: On 9 juin 06, at 14:32, Joshua Slive wrote: >> # will not work... >> BrowserMatch !Firefox not_fx > > There is no direct support for this, but you can often reverse the > logic and cause the regex to unset and env variable instead and then

Re: [EMAIL PROTECTED] negative regex in SetEnvIf

2006-06-09 Thread Proniewski Patrick
On 9 juin 06, at 14:32, Joshua Slive wrote: # will not work... BrowserMatch !Firefox not_fx There is no direct support for this, but you can often reverse the logic and cause the regex to unset and env variable instead and then use the lack of the variable as a trigger for whatever you were tr

Re: [EMAIL PROTECTED] negative regex in SetEnvIf

2006-06-09 Thread Joshua Slive
On 6/9/06, Proniewski Patrick <[EMAIL PROTECTED]> wrote: Hello, I'm looking for a way to create SetEnvIf/BrowserMatch rules that use "negative" regex. Usually the "!" is used, but after trying many things, I can't find any working solution. How can I do for example to define an env. variable for

[EMAIL PROTECTED] negative regex in SetEnvIf

2006-06-09 Thread Proniewski Patrick
Hello, I'm looking for a way to create SetEnvIf/BrowserMatch rules that use "negative" regex. Usually the "!" is used, but after trying many things, I can't find any working solution. How can I do for example to define an env. variable for client _not_ using Firefox ? # will not work... B