Re: nginx rewrite mit http_cookie
Hanno Schulz <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Hi,
bin jetzt kein nginx Experte.
Für mich sieht es so aus als ob du auf die Existenz eines leeren Cookies __ac
abprüfst.
Ich hätte da noch etwas in der Form
$http_cookie ~* "__ac=.*" erwartet ohne zu wissen wie die genaue Syntax ist.
Hanno
Am 31.03.2011 12:13, schrieb Philip Bauer:
> Wie mache ich ein rewrite wenn das cookie '__ac' (das Authentifizierungs-Cookie von Plone) existiert?
>
> Ich versuche das hier:
> if ($http_cookie ~* "__ac=" ) {
> rewrite ^(.*) https://$server_name$1 redirect;
> }
>
> Aber es tut sich nix.
> Es soll auch $cookie_[name des cookies] funktioniere also $cookie___ac aber auch das tut nix.
>
> Viele Grüße,
> Philip
>
>
>
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope
>
-
Diese Information ist ausschliesslich fuer den Adressaten bestimmt und kann
vertraulich oder gesetzlich geschuetzte Informationen enthalten. Wenn Sie nicht
der bestimmungsgemaesse Adressat sind, unterrichten Sie bitte den Absender und
vernichten Sie diese Mail.
Anderen als dem bestimmungsgemaessen Adressaten ist es untersagt, diese E-Mail
weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden. Wir
verwenden aktuelle Virenschutzprogramme und Content-Filter.
Fuer Schaeden, die dem Empfaenger gleichwohl durch von uns zugesandte mit Viren
befallene E-Mails entstehen, schliessen wir jede Haftung aus.
-
This e-mail and any attachments is confidential and solely intended for the
indicated addressee. If you are not the intended recipient or an authorized
person, please note, that any form of notice, disclosure, reproduction or
circulation of the contents of this mail is prohibited. In this case, please
immediately inform the sender of the e-mail an destroy this e-mail. We use
updated antivirus protection software. We do not accept any responsibility for
damages caused anyhow by viruses.
-
catWorkX GmbH: Sitz der Gesellschaft in Hamburg, HRB: 71494, USt-IdNr.:
DE201625856, Geschaeftsfuehrung: Dipl. Kfm. Andreas Girnuweit, Dipl.-Ing. Oliver
Groht, Dr. Wolfgang Tank
_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope