[Varnish] #777: Documentation on regex with new if parser

Varnish varnish-bugs at varnish-cache.org
Mon Sep 20 14:25:36 CEST 2010


#777: Documentation on regex with new if parser
----------------------+-----------------------------------------------------
 Reporter:  hp197     |       Owner:  kristian
     Type:  defect    |      Status:  new     
 Priority:  lowest    |   Milestone:          
Component:  varnishd  |     Version:  trunk   
 Severity:  minor     |    Keywords:          
----------------------+-----------------------------------------------------

Comment(by hp197):

 {{{
 Starting varnish HTTP accelerator: storage.malloc.storage_0: max size 256
 MB.
 Message from VCC-compiler:
 Expected ')' got '~'
 (program line 76), at
 ('input' Line 62 Pos 40)
         if ( !req.http.X-Forwarded-For ~
 "^(192\.168\.1\.[0-9]{1,3}|92\.70\.242\.66|94\.210\.246\.167|87\.212\.194\.237)$"
 ) {
 ---------------------------------------#--------------------------------------------------------------------------------------

 Running VCC-compiler failed, exit 1

 VCL compilation failed
 }}}

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/777#comment:2>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list