URL rewriting / ignoring query parameters?

Dag-Erling Smørgrav des at linpro.no
Tue Sep 11 09:59:28 CEST 2007


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> sub vcl_recv {
> 	set req.url = regsub(req.url, "?.*", "");
> }

You need to quote the ?...

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list