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 <[email protected]> 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 <[email protected]> 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" <[email protected]> wrote: >> > > > > -- > Daniele Dellafiore > http://danieledellafiore.net > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
