Re: [users@httpd] negative regex in SetEnvIf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/9/06, Proniewski Patrick <patrick.proniewski@xxxxxxxxxxxxx> 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 client _not_
using Firefox ?

# 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 trying
to do.  You didn't provide enough details to give specific help.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux