tags:

views:

35

answers:

0

Hi,

I have a situation where multiple hosts on the same server all point at the same physical directory using symlinks. In this directory, using .htaccess, I want to apply a certain php_flag, but only for a certain remote hostname.

Here's what I've tried (doesn't work!) to give you an idea of what I'm trying to achieve:

SetEnvIf Remote_Host www\.mydomain\.com disable_magic_quotes_gpc=1
<IfDefine disable_magic_quotes_gpc>
php_flag magic_quotes_gpc off
</IfDefine>

Any pointers?