Hi again
Many thanks for all the help on and off list.
I've tightened the regexp as suggested and am now setting req.url
instead of req.http.url and It's working perfectly in the lab.
Thanks again
Alex
sub vcl_recv {
if (req.http.host ~ "^(www\.)?deansleisurecentre\.com$") {
set req.http.host = "deansleisurecentre.com";
set req.url = regsub(req.url, "^/$", "/dlc");
}
}
--
Alex Harrington - Network Manager, Longhill High School
t: 01273 304086 | e: [EMAIL PROTECTED]
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc