On 10/23/07, Sylvain Viollat <[EMAIL PROTECTED]> wrote:
>
> Thanks for your answer! I tried but no such success. I also tried to match 
> Mozilla User-Agent for debugging, but it looks like the setting which is 
> passed to SetEnvIf is totally ignored.
>
> Is there a way to check the content of a variable through a .htaccess or 
> apache's configuration file ? Something like "if MyVar = foobar then 
> apply_this_setting" ?
>

That depends on the setting. And in the case of php config directives,
the answer is no. They are not settable on a per-request basis in
httpd.conf. SetEnvIf sets "environment variables", not config
directives.

So you need to find some other solution to your problem. Not being a
php expert, I can't help you there. You might want to try a php list.

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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to