From 0070cd52c86db832c771d43a21355df966a5ce2e Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Thu, 16 Jun 2016 12:19:49 +0200 Subject: [PATCH] DOC: http: add documentation for url32 and url32+src This patch needs to be backported to 1.6 and 1.5. --- doc/configuration.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index 678be4419..00da5dfbc 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -14137,6 +14137,18 @@ urlp_val([[,])] : integer and converts it to an integer value. This can be used for session stickiness based on a user ID for example, or with ACLs to match a page number or price. +url32 : integer + This returns a 32-bit hash of the value obtained by concatenating the first + Host header and the whole URL including parameters (not only the path part of + the request, as in the "base32" fetch above). This is useful to track per-URL + activity. A shorter hash is stored, saving a lot of memory. The output type + is an unsigned integer. + +url32+src : binary + This returns the concatenation of the "url32" fetch and the "src" fetch. The + resulting type is of type binary, with a size of 8 or 20 bytes depending on + the source address family. This can be used to track per-IP, per-URL counters. + 7.4. Pre-defined ACLs ---------------------