diff options
| -rw-r--r-- | doc/source/config.rst | 4 |
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 | ||
| 287 | The ``filename`` filter requires a leading ``/``, since paths are absolutes (like ``/var/www/mywebsite/lib/parse.php``). | ||
| 288 | If you would like to have only one configuration file for several vhost in different folders, | ||
| 289 | you can use the the ``filename_r`` directive to match on the filename (like ``/lib/parse\.php``). | ||
| 290 | |||
| 287 | For clarity, the presence of the ``allow`` or ``drop`` action is **mandatory**. | 291 | For clarity, the presence of the ``allow`` or ``drop`` action is **mandatory**. |
| 288 | 292 | ||
| 289 | .. warning:: | 293 | .. warning:: |
