Permanent Redirects

Stephen Nelson-Smith sanelson at gmail.com
Fri Nov 6 10:54:44 CET 2009


Hi,

I have two old DNS names which point to my new website:

anoldcrapname.com
anotheroldname.com

---> myrealsite.com

As varnish handles all port 80 traffice, any redirects need to be
handled by Varnish.

How can I do this?

One approach would be to have varnish pass those names through to
apache, and have apache do a redirect, but is there a way to do it in
VCL?

Thanks,

S.

-- 
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com



More information about the varnish-misc mailing list