pkgsrc/www/p5-Kwiki-Users-Remote/MESSAGE

25 lines
679 B
Text
Raw Normal View History

===========================================================================
$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
===========================================================================