414b5148c7
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.
24 lines
679 B
Text
24 lines
679 B
Text
===========================================================================
|
|
$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
|
|
|
|
===========================================================================
|