Hello,

I saw that it is possible to redirect domains with a 'dirty' hack. (http://www.varnish-cache.org/trac/wiki/VCLExampleRedirectInVCL)
This works well.

However, is it also possible to redirect subdirectories on a domain?

For example:

http://www.example.com/somesubdirectory

should redirect to

http://www.adifferentsite.com

Is this possible with Varnish? (and is so, tips are welcome :-)

Regards.


_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to