Combining req.url matches

Tollef Fog Heen tfheen at redpill-linpro.com
Mon Jan 11 12:02:05 CET 2010


]] pub crawler 

| Let's try this one - can these somehow be combined into one?
| 
| if (req.url ~ "systemstatus\.cfm") {lookup;}
| if (req.url ~ "index\.cfm") {lookup;}

if (req.url ~ "(index|systemstatus)[.]cfm") { return(lookup);}

?

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-misc mailing list