diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,25 +32,26 @@ The second argument (a boolean) specifies whether the keyword matching is case-insensitive (true) or case-sensitive (false). The 3rd argument gives the maximum allowed number of collisions in the loaded hash table. The module will adjust the load factor to meet this number. Once loaded, the value corresponding to a given key can be retrieved as follows: set req.http.X-Value = dict.lookup("key"); * Installation In order to compile the package you need to have installed -varnishd and varnishapi package. +varnishd and varnishapi package. The module has been tested with +Varnish versions 4.1 and 5.1. Supposing that condition is met, run: ./configure It should be able to automatically find the necessary components. In case it doesn't, tweak the configuration variables as necessary. The most important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense) where the .pc files are located. It should contain a directory where the 'varnishapi.pc' file lives. Example usage: ./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH |