From c27ab06b07aa14f181c52098019098dca9b65726 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Sat, 28 May 2016 14:37:43 +0000
Subject: [PATCH] Make this example actually, y'know, work.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745878 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_auth_form.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/docs/manual/mod/mod_auth_form.xml b/docs/manual/mod/mod_auth_form.xml
index a5004a5a60..465e73f0ed 100644
--- a/docs/manual/mod/mod_auth_form.xml
+++ b/docs/manual/mod/mod_auth_form.xml
@@ -81,9 +81,9 @@
AuthType form
AuthName "/admin"
AuthFormLoginRequiredLocation "http://example.com/login.html"
+
Session On
SessionCookieName session path=/
- SessionCryptoPassphrase secret
Require valid-user
@@ -96,13 +96,17 @@
AuthUserFile specify that usernames
and passwords should be checked against the chosen file.
- The directives Session,
- SessionCookieName and
- SessionCryptoPassphrase create an
- encrypted session stored within an HTTP cookie on the browser. For more information
+
The directives Session and
+ SessionCookieName
+ session stored within an HTTP cookie on the browser. For more information
on the different options for configuring a session, read the documentation for
mod_session.
+ You can optionally add a
+ SessionCryptoPassphrase to
+ create an encrypted session cookie. This required the additional
+ module mod_session_crypto be loaded.
+
In the simple example above, a URL has been protected by
mod_auth_form, but the user has yet to be given an opportunity to
enter their username and password. Options for doing so include providing a
@@ -144,10 +148,9 @@
AuthFormProvider file
AuthUserFile "conf/passwd"
AuthType form
- AuthName realm
+ AuthName /admin
Session On
SessionCookieName session path=/
- SessionCryptoPassphrase secret
</Location>
@@ -212,7 +215,6 @@ AuthName realm
AuthFormLoginRequiredLocation "http://example.com/login.html"
Session On
SessionCookieName session path=/
-SessionCryptoPassphrase secret
@@ -311,7 +313,6 @@ AuthName realm
AuthFormLogoutLocation "http://example.com/loggedout.html"
Session On
SessionCookieName session path=/
-SessionCryptoPassphrase secret
@@ -330,7 +331,6 @@ AuthFormLogoutLocation "http://example.com/loggedout.html"
Session On
SessionMaxAge 1
SessionCookieName session path=/
-SessionCryptoPassphrase secret
--
2.50.1