Welcome! Log In Create A New Profile

Advanced

Editing Cookies

Toni Mueller
March 25, 2010 07:38AM
Hi,

I'm running against a wall with this problem:

I want to have nginx reverse-proxying to a Domino server to access web
mail. The Domino server sets a cookie like this:

Set-Cookie: LtpaToken=AAECAzRCQUIzOTAzNEJBQjQwMEJDTj1KYW1lcyBULiBLaXJrL09VPUFTREUvTz1BU0NUQUcvQz1ERVfDFlPa9ly73A1MRubC5PW1h4vN; domain=.company.local; path=/

It is easy to see that all browsers outside of the network where this
name can be resolved, will not accept the cookie, and thus be unable to
log in. I currently have no idea about how to do this.

What I would like to see is something like

rewrite_header headername value flags

(ie, a "natural" extension of the "rewrite" statement). The rewriting
should preferably work in both directions, so one could rewrite request
headers which are going to some backend, as well as response headers.

Any ideas, please?


Kind regards,
--Toni++


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Editing Cookies

Toni Mueller March 25, 2010 07:38AM

Re: Editing Cookies

Ray March 25, 2010 10:56AM

Re: Editing Cookies

Toni Mueller March 25, 2010 12:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready