Reverse RewriteCond?

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

 



I have (set in /etc/bashrc):
   echo $HTML_TST
   aa|bb|cc|dd|ee

and I tried:

   RewriteCond  ee %{ENV:HTML_TST}

following the documentation that says:

   Syntax: RewriteCond TestString CondPattern

I expected ee to be recognized as one ofthe alternatives
in the pattern.  It didn't work.

Frustrated, I tried:

   RewriteCond  %{ENV:HTML_TST} ee

To my surprise, it did work, and as hoped, ff failed to
match.

This meets my requirement of matching any of the members of
a list, but appears to be contrary to the documentation.

Am I skating in this ice?

Thanks for your help.

Mike.


---------------------------------------------------------------------
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