Hey guys,
i’ve got one problem and don’t know how to solve this problem.
I have to use another backend if the req.url matches AND HTTP Status is 404.
sub vcl_recv {
if (req.url ~ „^/path/to/images") {
set req.backend = p1_backend;
set req.http.host = "www.mysite.de“;
}
How to solve the 404 Status?
varnishd -V
varnishd (varnish-3.0.2 revision 55e70a4)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2011 Varnish Software AS
Thanks for any information.
Best regards,
Tobias
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc