Skip post

Sam Crawford samcrawford at gmail.com
Tue Jul 5 18:28:37 CEST 2011


What you have should be sufficient.

Perhaps try running varnishlog whilst making a POST request and then
pasting the (scrubbed) output here?

Thanks,

Sam


On 4 July 2011 17:33, Daniele Dellafiore <ildella at gmail.com> wrote:
> 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
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>




More information about the varnish-misc mailing list