301 not work

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


Sorry, found error :)

On Mon, Oct 4, 2010 at 2:12 PM, Cristiano Fernandes (chm0d) <
chm0dz at gmail.com> wrote:

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



-- 
_______
 Cristiano Fernandes
SysAdmin Portal R7 (Rede RECORD)
Google is my shepherd, no want shall I know
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101004/d84c723c/attachment-0003.html>


More information about the varnish-misc mailing list