]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Don't use AuthFormLoginRequiredLocation in inline
authorEric Covener <covener@apache.org>
Sun, 1 Dec 2024 14:16:42 +0000 (14:16 +0000)
committerEric Covener <covener@apache.org>
Sun, 1 Dec 2024 14:16:42 +0000 (14:16 +0000)
commit7195b5ad982ed852435d02ec84e7f2d6104e155d
tree00463ccfec47af1b0fbcdf76668679c5ef528c42
parentb9b6f652f2956289e6d2eb135e3bf9b4adb8daf5
Don't use AuthFormLoginRequiredLocation in inline

Intro to inline 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.

The entire point seems to be to keep the URL the same by using an internal redirect
via ErrorDocument, and AuthFormLoginRequiredLocation conflicts with it.

Submitted By: Rishikeshan Lavakumar/Sulochana <oss AT @rishikeshan.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922246 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/mod/mod_auth_form.xml