Hi, 

I'd like to be able to use a variable in a cookie setting for example; 

<VirtualHost *:80> 
ServerName myserver 
RewriteEngine On 
SetEnv MYPATH "Hello_World" 
RewriteRule . - [CO=COOKIEID:%{MYPATH}:.domain.com:120] 
ProxyPass / http://myrealserver:8080/ 
</VirtualHost> 

But for some reason environment variables don't seem to work. 

Essentially I'd like to insert the domain name component of the request into a 
cookie .. does anyone know how this can be done ? 

tia 
Gareth. 

Reply via email to