mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
Remove docs for HTTP_* vars. See #23.
This commit is contained in:
parent
cd62f20022
commit
b47059a5b3
@ -1745,7 +1745,7 @@ SecAction setsid:%{REQUEST_COOKIES.PHPSESSID}
|
|||||||
|
|
||||||
<programlisting format="linespecific">SecDefaultAction "log,pass,<emphasis
|
<programlisting format="linespecific">SecDefaultAction "log,pass,<emphasis
|
||||||
role="bold">phase:2</emphasis>"
|
role="bold">phase:2</emphasis>"
|
||||||
SecRule HTTP_Host "!^$" "deny,<emphasis role="bold">phase:1</emphasis>"</programlisting>
|
SecRule REQUEST_HEADERS:Host "!^$" "deny,<emphasis role="bold">phase:1</emphasis>"</programlisting>
|
||||||
|
|
||||||
<para><emphasis role="bold">Note on Rule and Phases</emphasis></para>
|
<para><emphasis role="bold">Note on Rule and Phases</emphasis></para>
|
||||||
|
|
||||||
@ -1994,21 +1994,6 @@ SecRule <emphasis role="bold">ENV:tag</emphasis> "suspicious"</programlisting>
|
|||||||
<programlisting format="linespecific">SecRule <emphasis role="bold">FILES_TMPNAMES</emphasis> "@inspectFile /path/to/inspect_script.pl"</programlisting>
|
<programlisting format="linespecific">SecRule <emphasis role="bold">FILES_TMPNAMES</emphasis> "@inspectFile /path/to/inspect_script.pl"</programlisting>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
|
||||||
<title><literal moreinfo="none">HTTP_</literal></title>
|
|
||||||
|
|
||||||
<para>This variable is a special prefix that is followed by a header
|
|
||||||
name and can be used to access any request header. Example:</para>
|
|
||||||
|
|
||||||
<programlisting format="linespecific">SecRule<emphasis role="bold"> HTTP_REFERER</emphasis> "www\.badsite\.com"</programlisting>
|
|
||||||
|
|
||||||
<para><emphasis role="bold">Note</emphasis></para>
|
|
||||||
|
|
||||||
<para>This variable is for backward-compatibilty with ModSecurity 1.X
|
|
||||||
rules. It has been superceded by the REQUEST_HEADERS variable
|
|
||||||
(REQUEST_HEADERS:<emphasis>Headername</emphasis>)</para>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<title><literal moreinfo="none">PATH_INFO</literal></title>
|
<title><literal moreinfo="none">PATH_INFO</literal></title>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user