WP-Polls and Varnish – "Failed To Verify Referrer" Error
-
I just installed Varnish on my server and WP-Polls has stopped working. Everytime I attempt to vote or see results I get the “Failed To Verify Referrer” error. Any help I could receive relieving this issue would be great.
In my /etc/varnish/default.vcl I have the following statement:
sub vcl_fetch { #This is where we check on wp-polls but obvi doesn't work if(req.url ~ "(preview=true|wp-comments-post|wp-polls)") { return(hit_for_pass); } if(!(req.url ~ "(login|wp-(login|admin))")) { unset beresp.http.set-cookie; } }
I can understand why this isn’t working, there is no url post when using WP-Polls. Is there any suggestions on how to work around this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP-Polls and Varnish – "Failed To Verify Referrer" Error’ is closed to new replies.