I am not able to figure out why the following doesn't match:
<If %{HTTP_COOKIE} == 'XDEBUG_SESSION=leho'">
I'm setting a php_value inside the matching If. I know that part works because this seems to match something
%{HTTP_COOKIE} =~ /leho/
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.
Sign up to join this communityHTTP_COOKIE
is a semi-colon delimited list of all the cookies that are set. Your ==
test would only work if your cookie were the only one set. Instead, I would try this regular expression match in the <If>
directive:
<If "%{HTTP_COOKIE} =~ /XDEBUG_SESSION=leho/">