nginx rewrite mit http_cookie
Philip Bauer <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
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