Skip to content

Commit 7195b5a

Browse files
committed
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
1 parent b9b6f65 commit 7195b5a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/manual/mod/mod_auth_form.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ ErrorDocument 401 "/login.shtml"
212212
AuthUserFile "conf/passwd"
213213
AuthType form
214214
AuthName /admin
215-
AuthFormLoginRequiredLocation "http://example.com/login.html"
216215
Session On
217216
SessionCookieName session path=/
218217
</highlight>

0 commit comments

Comments
 (0)