In message <[EMAIL PROTECTED]>, Jon Drukman writes:
>i'm trying to rewrite all incoming URLs to include the http host header
>as part of the destination url. example:
>
> set req.url = regsub(req.url, "^", "/site/" + req.http.host);
You can't do it directly right now, but this may be a feasible
workaround:
set req.http.foobar = "/site/"
set req.http.foo = regsub(req.url, "^", req.http.foobar);
unset req.http.foobar;
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc