Hi,   I am getting the following errro while compiling my vcl file. 
Would anyone be able to help me out? Thanks.
Message from VCC-compiler:Regexp compilation error:
nothing to repeat
(input Line 497 Pos 69)               
 if (req.url ~ "^/location-staticmap/*" || req.url ~ "^/staticmap%3F*" || 
req.url ~ "^/wms/*") 
{--------------------------------------------------------------------#################--------------------------
The line is copied below, position 69 happens to be the third double quote (") 
in the line, the one which is at the beginning of  staticmap.
        if (req.http.host ~ "^example.sample.com") 
{                if (req.url ~ 
"^/location-staticmap/*" || req.url ~ "^/staticmap%3F*" || req.url ~ "^/wms/*") 
{                     
   set obj.http.Cache-Control = "max-age=432000";     
                   set 
obj.ttl = 5d;               
 }               
 return(deliver);        }
Thanks,
Neel

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

Reply via email to