On Tue, 30 Jun 2009 18:33:09 +0000, Mike -- EMAIL IGNORED wrote:
> 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.
>
>
Further testing indicates that it really doesn't work:
RewriteCond %{ENV:HTML_TST} e
passes, which is not what is wanted.
Therefore, given that:
RewriteCond ee %{ENV:HTML_TST}
doesn't work, how can I pass iff one of a list is matched?
Thanks,
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]