Questions tagged [cookies]
132 questions
0
votes
0 answers
Delete cookies from specific domain
I've been asked if it's possible to delete cookies in IE from specific domains via GPO? I've googled around and I'm sure this is possible but haven't been able to find anything about deleting cookies from specific domains. Any help is greatly…

msindle
- 605
- 8
- 26
0
votes
2 answers
Varnish cache responese with "Set-Cookie" header
I have a page which sends a "Set-Cookie" header for something like the language depending on the URL. The thing is this page will get a fairly high hit rate but it's not an option right now to strip the "Set-Cookie" header so that Varnish 4 will…

Bogdan
- 218
- 2
- 8
0
votes
1 answer
Modsecurity cookie match
I run a small webhosting service (CPanel + ModSecurity) and I personnaly host few laravel projects on it. I noticed that when I (or anyone) visit multiple pages quickly (one after the other), at some point I get a Too Many Redirects error after the…

Max13
- 141
- 1
- 9
0
votes
1 answer
What's the best way to rewrite traffic from domainA.com/foo to domainB.com/bar while properly rewriting cookies and redirects?
We have a number of sites that have blogs, like
domainA.com/blog
domainB.com/blog
and we host the blogs on wordpress multi user:
our-separate-wordpress-site.com/domaina_blog
our-separate-wordpress-site.com/domainb_blog
for SEO reasons we…
Chad DePue
0
votes
0 answers
Resolving duplicate cookie error log messages in Apache 2.4
Running Apache 2.4.7, our error logs are cluttered with messages like:
[core:error] ... AH00011: ap_cookie: client submitted cookie 'PHPSESSID' more than once: ...
We haven't been able to determine any specific failure in behavior due to this, but…

futureal
- 397
- 1
- 3
- 17
0
votes
0 answers
Adding CSRF token in to Cookies of Post request in Haproxy
My post request to UAA is missing CSRF value i.e. X-Uaa-Csrf=2QytIy. This is required for login in to cloud foundry UAA. This is problem is because of internet domain name /private domain name mapping done in haproxy.
Get /login request response has…

Vikram Ranabhatt
- 111
- 1
- 7
0
votes
1 answer
Serve media content only to logged in user using Apache
I recently saw this feature on another site where it would server media files, like uploaded images, only when the user is logged in. It would throw an "ACCESS DENIED" page otherwise.
So, I experimented with curl and realized that based on the…

JRodDynamite
- 103
- 3
0
votes
0 answers
Backreferencing a cookie value in rewriterule
I'm trying to backreference a cookie's value in a RewriteRule :
# Trace rewrite rules log
LogLevel alert rewrite:trace4
# Rewriting the URL, in the cookie's condition i've tried en alone, and en|fl|nl without sucess
RewriteCond %{REQUEST_URI}…

Ismail H
- 107
- 7
0
votes
1 answer
phpinfo showing HTTP_ALLOWCOOKIES set to NO - how to change?
We have a dev and live server that were seemingly built identically. However the live server phpinfo() page shows the following in the "Apache Environment" section
HTTP_ALLOWCOOKIES NO
Don't see this line in the Dev environment.
Live environment…

Paul Fernihough
- 11
- 1
0
votes
0 answers
What can cause cookies to arrive empty to the server?
We experience an issue where in IIS advanced logs we see that the requests arrive with SOME of the cookie values missing. Of course the values are missing in the application layer as well.
This is from various IPs and from various devices.
The…

realPro
- 101
- 1
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
How to make nginx understand dots in cookie values?
I have Nginx configured as a simple sticky LB. One of the key parts of config is matching cookie value to server address. This works fine:
map $cookie_sessionServer $http_sticky_backend {
default 0;
Server_A 192.168.73.210:1337;
…

Georgii Ivankin
- 123
- 7
0
votes
2 answers
Am I under DDOS?
I have a mail server, Debian Linux 2.4.31, which is dropping TCP connections and basically being unavailable. I have iptables running on it and its pretty much very restrictive.
When I run "netstat -tanp|wc -l" i get 366 while "cat…

A4A
- 78
- 1
- 7
0
votes
1 answer
Reverse Proxy a Sub-directory to a Sub-directory with Apache
I understand proxies in concept (though have never set one up). I'm attempting to proxy Drupal, but I'm fairly sure that my problem is not related to Drupal. As I have been trying to determine the magic ingredient to get this working since this…

jobu1324
- 485
- 4
- 9
- 17
0
votes
2 answers
HAproxy current session is zero
I have some problems on sticky sessions with HAproxy.
Haproxy counts every request as a new session.
I have a Java servlet that creates the cookie JSESSIONID.
If I refresh that page 5 times. The servlet count it as 1 session and 5 request from that…

ofbje
- 1
- 1