Questions tagged [http-cookie]

22 questions
0
votes
1 answer

Transform Apache Cookie logs to json with rsyslogd

I am logging cookie headers, some cookies may have due date, some others not, the same is tru for other cookie parameters, I need to implement a centrilaized logging, so before sending those to logstash I want to transform syslog to json. How can I…
Edik Mkoyan
  • 115
  • 5
0
votes
1 answer

Correct way to block a site if a cookie isn't present apache 2.4

I'm using apache 2.4.12 (Ubunutu 15.10) as an oauth2 proxy behind a node app. The app sends lots of unauthenticated requests before login b/c it doesn't know it's not authenticated (it doesn't know/care about the proxy) which creates lots of large…
Trimbee
  • 53
  • 1
  • 8
0
votes
1 answer

NGINX cache based on cookies

Is there a way for NGINX to have a different cache depending on the value of a cookie? In my case, I have a website (in my case, a plugin) that creates a cookie called devicePixelRatio. This is 1 in most cases but if you have a high-DPI display then…
TigrouMeow
  • 101
  • 1
  • 2
0
votes
1 answer

Can Apache clean cookies from a request to specific URLs?

We have the following configuration: AuthFormAuthoritative Off AuthType None Allow from all Satisfy any Options FollowSymLinks Problem: I do not want any cookie will be send to the Apache directory…
Michael
  • 597
  • 3
  • 9
  • 23
0
votes
1 answer

Why can't Windows Server 2008 create cookies?

Scenario: I have a web application (SnapshotServer) which uses a WebBrowser control to take a snapshot images of a web page. I use a WebBrowser control within SnapshotServer to navigate to a entry page of a secure web application (ImageHost) and…
0
votes
1 answer

NGINX load balancing hash: use cookie value if present, ip_hash if not

I'm trying to figure out how to do some if-else logic in NGINX's upstream load-balancing directive. Basically, I'd like to use the method: hash $cookie_my_cookie_name consistent; ... if the cookie (my_cookie_name) is present. If that cookie is not…
mmuurr
  • 135
  • 1
  • 5
-1
votes
1 answer

Apache Reverse Proxy - HTTP requests with a Cookie

We have an Apache Reverse Proxy which works fine (configuration below). Now we have the need to forward a few requests to another server (server3.domain.com) and check that a cookie named "LtpaToken" exists in user request. If the cookie is absent,…
Radu
  • 3
  • 4
1
2