Error compiling VCL using varnish-2.1.2 (Regexp compilation error: nothing to repeat)

Nils Goroll slink at
Mon Oct 4 16:09:43 CEST 2010

>                 if (req.url ~ "^/location-staticmap/*" || req.url ~
> "^/staticmap%3F*" || req.url ~ "^/wms/*") {

What happens if you put your matches in additional parenthesis?

Also, you don't need the asterisks. E.g. in the first regexp, this means "end
with and number of slashes or none at all".


More information about the varnish-dev mailing list