summaryrefslogtreecommitdiffstats
path: root/authnz_external.conf
diff options
context:
space:
mode:
Diffstat (limited to 'authnz_external.conf')
-rw-r--r--authnz_external.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/authnz_external.conf b/authnz_external.conf
new file mode 100644
index 0000000..0b8a017
--- /dev/null
+++ b/authnz_external.conf
@@ -0,0 +1,21 @@
+
+LoadModule authnz_external_module modules/mod_authnz_external.so
+
+DefineExternalAuth pwauth pipe /usr/bin/pwauth
+
+#
+# see also: http://code.google.com/p/mod-auth-external/wiki/ConfigApache22
+#
+
+#<Location "/staff">
+#
+# # Require SSL connection for password protection.
+# SSLRequireSSL
+#
+# AuthType Basic
+# AuthName "Staff content"
+# AuthBasicProvider external
+# AuthExternal pwauth
+# require valid-user
+#
+#</Location>