Skip post

Daniele Dellafiore ildella at gmail.com
Mon Jul 4 18:33:35 CEST 2011


I've tried both ways.
In fact in the default.vcl there's this:

#     if (req.request != "GET" && req.request != "HEAD") {
#         /* We only deal with GET and HEAD by default */
#         return (pass);
#     }

that for me is the same, or even better, than:

 if (req.request == "POST") {
     pass;
 }

that is suggested in the introduction document.
Anyway, even adding the check on the POST, and of course uncommenting
all the sub vcl_recv, the problem remains.

On Mon, Jul 4, 2011 at 6:27 PM, Lee Trout <lee at leetrout.com> wrote:
> I'm sure some one will offer more detail but you need to pass in your vcl if
> the request method is POST.
>
> http://www.varnish-cache.org/trac/wiki/Introduction
>
> sent from my phone...
>
> On Jul 4, 2011 12:18 PM, "Daniele Dellafiore" <ildella at gmail.com> wrote:
>



-- 
Daniele Dellafiore
http://danieledellafiore.net




More information about the varnish-misc mailing list