Re: ProxyPass/ProxyPassreverse shared cookies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2008 at 11:25 AM, Nino Saturnino Martinez Vazquez Wael
<nino.martinez@xxxxxxxxx> wrote:
> Hi
>
> I have two applications running in a tomcat instance, I use apaches mod
> proxy to forward to them accordingly. However I have trouble getting a share
> cookie to be visible in each application. Since cookies need to be on the
> same path and domain. Currently no cookies are going out to the browser from
> apache2 http.

Are you sure no cookies are going out? Have you looked at your http
traffic using something like LiveHTTPHeaders or firebug?

Normally apache just forwards cookies produced by your app to the
client. you can ask apache to change the cookiedomain and the path,

You have configured two virtual hosts, beta.domain.dk and
forum.domain.dk, and want to share cookies between them, is that
correct?
In this case you must make sure that cookiedomain is domain.dk.
If you set cookidomain to beta.domain.dk the cookie will only be sent
by the browser on requests to beta.domain.dk, and not on requests to
forum.domain.dk.


Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux