summaryrefslogtreecommitdiff
path: root/www/p5-Kwiki-Users-Remote/MESSAGE
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-01-31 20:12:41 +0000
committerjschauma <jschauma>2006-01-31 20:12:41 +0000
commitfeb4c921c923821fcd99efdde6ff465e4bc016a9 (patch)
tree1f676df586054b0dcf0d7110e8c94a57e4a22f12 /www/p5-Kwiki-Users-Remote/MESSAGE
parentb9febccb33622d976e52931f936f06890889d823 (diff)
downloadpkgsrc-feb4c921c923821fcd99efdde6ff465e4bc016a9.tar.gz
Initial import of p5-Kwiki-Users-Remote:
When using HTTP authentication for your Kwiki, use this module to automatically set the user's name from the username they logged in with. This name will appear in any Recent Changes listing.
Diffstat (limited to 'www/p5-Kwiki-Users-Remote/MESSAGE')
-rw-r--r--www/p5-Kwiki-Users-Remote/MESSAGE24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/p5-Kwiki-Users-Remote/MESSAGE b/www/p5-Kwiki-Users-Remote/MESSAGE
new file mode 100644
index 00000000000..ddabe76bfba
--- /dev/null
+++ b/www/p5-Kwiki-Users-Remote/MESSAGE
@@ -0,0 +1,24 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/01/31 20:12:41 jschauma Exp $
+
+To use this plugin, follow these steps:
+
+ $ cd /path/to/kwiki
+ $ echo "users_class: Kwiki::Users::Remote" >> config.yaml
+
+In your Apache configuration:
+
+ <Location /kwiki>
+ AuthName "my kwiki"
+ AuthType Basic
+ AuthUserFile /path/to/htpasswd
+ Require valid-user
+ </Location>
+
+Optionally, to display the user name, edit the file /path/to/kwiki/plugins
+and uncomment the line 'Kwiki::UserName::Remote' and run
+
+ $ cd /path/to/kwiki
+ $ kwiki -update
+
+===========================================================================