Skip to content

Installation on varnish 4 #27

@intelbg

Description

@intelbg

Hello,
I would like to ask you if this module is compatible with varnish 4, because I can't run it on CentOS 6.5 with varnish 4. Testing configuration looks like this:

[/usr/local/src/security.vcl-master]# varnishd -C -f /etc/varnish/default.vcl
Message from VCC-compiler:
Symbol not found: 'req.request' (expected type BOOL):
('/etc/varnish/security/modules/content-type.vcl' Line 12 Pos 14)
if(( req.request == "GET" || req.request == "HEAD" )
-------------###########------------------------------------

Running VCC-compiler failed, exited with 2

VCL compilation failed

If I replace the functions in all vcls with the new one again does not works. Is there someone who did it successfully on varnish 4 or can you please provide me some recoomendations? If this is not compatible with varnish 4 which module related to security rules is compatible (tryed also vsf - the same)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions