Forum Moderators: phranque
Header set Set-Cookie ref_test=%{HTTP_HOST}e;expires=30days;path=/;domain=www.x.net;
but when the cookie is set the value of the HTTP_HOST is not transposing it is set as %{HTTP_HOST}e itself, instead of the host name
How to achieve this?
But is there any possibility to set the value of the cookie dynamically, i mean for e.g. if
[localhost...] is hit
i want set the somedomainname as cookie.
I have done this in apache 2.x with CO flag in the rewrite rule
But can i achieve the same with apache 1.x