Re: Rewriting Response header from proxied server with Apache 2.0

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

 



> On Wed, Apr 1, 2009 at 2:02 PM,  <pthyseba@xxxxxxxxxxxxxx> wrote:
>
>> However, the proxied application has "login" functionality and thus sets
>> a
>> cookie.
>>
>> While I have been working on the revrese proxy setup for the last couple
>> of days, I believe I'm now stuck: the proxied app is generating cookies
>> with domain "remote", which I want to replace with domain "proxy" so
>> that
>> the client's browser will send the crorect cookie after logging in (as
>> opposed to being redirected to the login screen every time...).
>
> Have you looked at
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiedomain
>
> Krist


Hello Krist,


Yes I have: it's for Apache 2.2 and does not have an equivalent in Apache
2.0 it seems.

So my question boils down to: what is a valid Apache 2.0 workaround for
the functionality offered by proxypassreversecookiedomain and
proxypassreversecookiepath, given that I cannot upgrade to Apache 2.2 and
cannot modify the proxied server (e.g. change anything about the generated
cookies) ?


Kind regards,
Pieter
>
>
>
> --
> 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
>
>



---------------------------------------------------------------------
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