From 6e13eac378b34baf45d2cba69c310ee2ad52bb85 Mon Sep 17 00:00:00 2001 From: Flameeyes Date: Thu, 14 Mar 2013 09:07:08 -0700 Subject: [PATCH] Fix the formatting of the Note about REMOTE_USER and make it use @streq instead of a regexp --- Reference-Manual.mediawiki | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Reference-Manual.mediawiki b/Reference-Manual.mediawiki index e471723..9d6d077 100644 --- a/Reference-Manual.mediawiki +++ b/Reference-Manual.mediawiki @@ -2021,10 +2021,9 @@ In the following example, we are evaluating to see whether the REMOTE_PORT is le == REMOTE_USER == This variable holds the username of the authenticated user. If there are no password access controls in place (Basic or Digest authentication), then this variable will be empty. -SecRule REMOTE_USER "^admin$" "id:38" +SecRule REMOTE_USER "@streq admin" "id:38" -; Note : In a reverse-proxy deployment, this information will not be available if the authentication is -handled in the backend web server. +; Note : In a reverse-proxy deployment, this information will not be available if the authentication is handled in the backend web server. == REQBODY_ERROR == Contains the status of the request body processor used for request body parsing. The values can be 0 (no error) or 1 (error). This variable will be set by request body processors (typically the multipart/request-data parser or the XML parser) when they fail to do their work.