httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-Stéphane SMORGRAV <>
Subject RE: [users@httpd] Problems with ProxyPassReverseCookieDomain
Date Tue, 02 Oct 2007 13:13:08 GMT
 ProxyPassReverseCookieDomain does not change the cookie name - only the domain field of the

Use LiveHTTPHeaders on Mozilla or similar (like Ethereal, burpproxy...) to see exactly what
the browser receives (Set-Cookie header) and what it subsequently sends to the server in terms
of cookies (if any). Use ethereal to see what the application server issues.

The cookie domain normally only contains domain elements e.g., so the fact that
it does not contain the host part is not surprising. Maybe you do not need to rewrite the
cookie domain at all...

Check also whether the cookie is issued with a specific path and whether that could be the
reason why your browser does not submit the cookie.


De : Skiff Lad [] 
Envoyé : mardi 2 octobre 2007 14:59
À :
Objet : [users@httpd] Problems with ProxyPassReverseCookieDomain

I seem to have a problem / misunderstanding regarding the use of the ProxyPassReverseCookieDomain
directive on 2.2.4 on Windows.
I have   running 2.2.4. Within the httpd.conf file, I have a number of redirect
directive statements that send a user, based on the URL, eg.   to
  etc. This all works fine so that the user arrives on the www1 box and there is a cookie
correctly set with name 
So far so good.
It now transpires that I need to use ProxyPass to pass the parameters coming in on the request
to   onto   - as redirect doesn't send these initial parameters
So, my httpd.conf file (on ) now looks like:
    ProxyPass /site1  
    ProxyPassReverse /site1 
I also added the following ProxyPassReverseCookieDomain directive:
But nothing seems to be happening. When I access , there is a cookie
correctly created (with the right contents etc), however, it is named simply,
ie. there is no www. nor www1. prefixing - this breaks subsequent processing on the
 box because there is no cookie named accordingly.
What am I doing wrong ? Do I need anything else ? Or am I being plain stupid ?


For ideas on reducing your carbon footprint visit Yahoo! For Good <>
 this month. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message