The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Kwiki::Users::Remote - automatically set Kwiki user name from HTTP authentication

SYNOPSIS

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

$ cd /path/to/kwiki
$ kwiki -add Kwiki::UserName::Remote

DESCRIPTION

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.

You might also want to use Kwiki::UserName::Remote.

ACKNOWLEDGEMENTS

Gerald Richter submitted a patch so that username changes would be recognized under mod_perl

AUTHORS

Ian Langworth <langworth.com>

SEE ALSO

Kwiki, Kwiki::UserName::Remote

COPYRIGHT AND LICENSE

Copyright (C) 2004, 2005 by Ian Langworth

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.