summaryrefslogtreecommitdiff
path: root/doc/source/config.rst
diff options
context:
space:
mode:
authorjvoisin2017-11-12 18:38:10 +0100
committerjvoisin2017-11-12 18:38:10 +0100
commit6f1f0464bc3bc8a863f43c348fa3b41d333b2a52 (patch)
tree046ff0878d69e9dc9f0edabf382542e9655d3fa5 /doc/source/config.rst
parente6b7258081bab6589429d5b49736bbd33ad5e5f6 (diff)
Improve a bit the filter-related documentation
Diffstat (limited to 'doc/source/config.rst')
-rw-r--r--doc/source/config.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst
index ad031fd..fc0df2d 100644
--- a/doc/source/config.rst
+++ b/doc/source/config.rst
@@ -284,6 +284,10 @@ The ``param`` filter is also able to do some dereferencing:
284- The ``var`` filter will walk the calltrace until it finds the variable name, or the end of the calltrace, 284- The ``var`` filter will walk the calltrace until it finds the variable name, or the end of the calltrace,
285 allowing the filter to match global variables: ``.var("_GET[param]")`` will match on the GET parameter ``param``. 285 allowing the filter to match global variables: ``.var("_GET[param]")`` will match on the GET parameter ``param``.
286 286
287The ``filename`` filter requires a leading ``/``, since paths are absolutes (like ``/var/www/mywebsite/lib/parse.php``).
288If you would like to have only one configuration file for several vhost in different folders,
289you can use the the ``filename_r`` directive to match on the filename (like ``/lib/parse\.php``).
290
287For clarity, the presence of the ``allow`` or ``drop`` action is **mandatory**. 291For clarity, the presence of the ``allow`` or ``drop`` action is **mandatory**.
288 292
289.. warning:: 293.. warning::