Re: why purge makes child process restart?
Monty Ree wrote: So thanks and so sorry for bothering you. But my varnish is 1.1.1 not trunk, and I don't know how to fix at 1.1.1. version 1.1.1 has no file related cache_backend_simple.c Please give me a solution for the version 1.1. I imagine that you're best bet would be to run varnish from trunk (http://varnish.projects.linpro.no/wiki/Installation). -- james ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: why purge makes child process restart?
Monty Ree [EMAIL PROTECTED] writes: Can you give us temporary vcl or urgent patch which drop the GET, HEAD or purge request which is not including Host header? vcl_recv() { if (!req.http.host) { error 400 No Host: header; } } DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Caching pages with cookies - feature request
Hello List, Could it be possible to cache pages per cookie values? Example. http://www.host.dk/page1?var=value1 (cookie: selection=1,2,3,4) A object with url http://www.host.dk/page1?var=value1 with that cookie would be cached . Then, when the next time another user with same cookie, he gets the cached version. Also if a unique user session is set in a cookie. Then the user will not get another users cached page, but only his own. For example, if its a user who likes to hit reload button many times. Pages with usersession would usually be cached for a few minutes. Then you can use the vcl to make exceptions to what urls that shoult not be cached. ex. when reload a mailbox page. /Klaus ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Caching pages with cookies - feature request
In message [EMAIL PROTECTED], Klaus writes: Hello List, Could it be possible to cache pages per cookie values? Example. http://www.host.dk/page1?var=value1 (cookie: selection=1,2,3,4) Yes, just add the cookie header to the hash string in vcl_hash(): sub vcl_hash { set req.hash += req.http.cookie; } Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: why purge makes child process restart?
james [EMAIL PROTECTED] writes: I imagine that you're best bet would be to run varnish from trunk (http://varnish.projects.linpro.no/wiki/Installation). That might not be a good idea, considering the pace of development on trunk. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Varnish on Solaris
Kamil Radziszewski [EMAIL PROTECTED] writes: Can I run Varnish on Solaris 10 ? Currently, no. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc