Hi,everyone
I install varnish3.03 with yum!
I have the following situation:
On my site, javascript sets a cookie that contains relevant information for generating the markup.
I therefore want Varnish to cache each page separately for each value of said cookie.
All the documentation I have found says that Varnish will not cache if any cookie is present, and explains how to remove cookies in Varnish preprocessing.
This is obviously not wh
I'm trying to send a post request through curl so I ran
curl --cookie /tmp/cookies.txt --cookie-jar /tmp/cookies.txt --data "name=value" http://www.mysite.com > post_request.txt
where I stored in /tmp/cookies.txt the cookie I found in my chrome's console. In the latter there were a name and a value.
I have sucessfully post a cookie along with my HTTP GET and POST request....
But now I would like to use a custom cookie instead.... Can anybody help?
I'm trying to receive a cookie from a HTTP request, with Android, Java. I thought that cookies are set with "Set-Cookie" in the header, so I got this code together. Thing is, it returns [Lorg.apache.http.Header;@41484760 and I have no idea what this is, but it does not look like a cookie.
I am trying to get more familiar to curl, so I am trying to send post request to a webpage from a site I am already logged into :
curl --data "name=value" http://www.mysite.com >> post_request.txt
I had an output consisting of all the hmtl page with a message telling me I was not logged in so I retrieved the site's cookie (called PHPSESSID, is that of importance) stored it in /temp/cooki
Hi it is possible to restrict access on backend via username and password, also restrict source ip?
backend cluster3
mode http
balance roundrobin
option httplog
option httpclose #Disable keepalive
option forwardfor
cookie JSESSIONID prefix
option httpchk HEAD /check.txt HTTP/1.0
# Servers
server web1 192.168.0.15:8080 cookie w402 weight 1 maxconn 12500 check inter 2000 rise 2 f
Currently I manage to configure varnish to cache items from 1 user, but the when the second users comes in varnish fetch another asset from Apache.
Originally I had a server with nginx running multiple websites. I added Varnish in front to be on port 80 and changed my nginx files to 8080. The problem I'm having is that only one site is working while the others are not.