httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 64481] New: [mod_auth_form] Incorrect documentation example of inline form
Date Fri, 29 May 2020 13:50:42 GMT

            Bug ID: 64481
           Summary: [mod_auth_form] Incorrect documentation example of
                    inline form
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
  Target Milestone: ---

At these URLs
they give the following example:

(Basic inline example)
AuthFormProvider file
ErrorDocument 401 "/login.shtml"
AuthUserFile "conf/passwd"
AuthType form
AuthName /admin
AuthFormLoginRequiredLocation ""  <<<< NOTE
Session On
SessionCookieName session path=/

Based on testing, the AuthFormLoginRequiredLocation line needs to be removed. 
That is also consistent with the previous description which says:

"If a non-authenticated user attempts to access a page protected by
mod_auth_form <<<that isn't configured with a AuthFormLoginRequiredLocation
directive>>>, a HTTP_UNAUTHORIZED status code is returned to the browser
indicating to the user that they are not authorized to view the page."

(<<< emphasis mine >>>)

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message