301 not work

Cristiano Fernandes (chm0d) chm0dz at gmail.com
Mon Oct 4 19:12:06 CEST 2010


:(

        if (req.http.host == "domain.com") {
                 error 301 "http://newdomain.com/home/";
        }

Why not?

Tks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101004/96ac1ef3/attachment-0003.html>


More information about the varnish-misc mailing list