The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
30 views

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 ...
1
vote
2answers
165 views

nginx -> serve different files using try_files based on cookies (conditions, if, then, else)

I need to configure an nginx server so that: If user has a specific cookie so the server must send a file, else the server must send another one. I read plenty of related articles, but nothing helped, ...
0
votes
1answer
175 views

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 ...
0
votes
0answers
243 views

Disable connection pooling on apache 2.2

Recently I've setup 2 new Reverse Proxy with apache 2.2 to access an application hosted in Jboss. In front of apaches there is a Load Balancer with just Round Robin, and between the apaches and Jboss ...
1
vote
0answers
884 views

HAproxy ACL based on backend application session cookie to replace HTTP Basic Auth

I would need some help on HAproxy configuration to bypass HTTP basic auth and let the user use a specific backend in case there is a valid session cookie present from another backend application. I ...
2
votes
1answer
202 views

Conditionally serving high resolution and WebP images with nginx

Not sure if I'm trying to pull off the impossible, but I'm wanting to configure Nginx to serve ".webp" files to browsers that support the file format and serve fallback files (i.e. pngs, jpgs, etc.) ...
2
votes
2answers
6k views

Adding “HttpOnly” and “Secure” cookie flags on Nginx & PHP

I have Nginx running with PHP and WordPress. Acunetix recommends setting these flags, but they provide no documentation. I have looked around a bit, but I have not seen anything that shows exactly how ...
0
votes
1answer
405 views

Can Apache clean cookies from a request to specific URLs?

We have the following configuration: <Directory /docs> AuthFormAuthoritative Off AuthType None Allow from all Satisfy any Options FollowSymLinks </Directory> ...
0
votes
1answer
4k views

checking and reading cookies with nginx

I can't find much ressources on how to manage cookies with nginx… I've seen that two variables are relatives to cookies, that is $http_cookies and $cookie_COOKIENAME. Anyway, i absolutely doesn't ...
0
votes
1answer
1k views

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 ...
4
votes
2answers
5k views

How to make Varnish ignore, not delete cookies

I want to use Varnish to cache certain pages even in the presence of cookies. There are 3 possibilities that I need to take care of: An anonymous user is viewing some page A logged in user is ...
1
vote
1answer
257 views

How to enable/disable mod_deflate based on a cookie?

I would like to enable mod_deflate based on the presence and value of a certain cookie. I know it’s possible to do cookie manipulation and tests with mod_rewrite, but I’m not sure how to do that kind ...