Kwiki::...:Remote(3)

πŸ“¦
version 0.04 Β· 2 versions
, in fedora 43

πŸ’– Kwiki::Users::Remote β€” the manual page, but make it cute πŸ’–

okay bestie, so this is Kwiki::Users::Remote(3), a User Contributed Perl Documentation page, and it is literally about automatically setting the Kwiki user name from HTTP authentication. no cap. let's get into it 🫢


✨ NAME ✨

Kwiki::Users::Remote β€” automatically set Kwiki user name from HTTP authentication πŸ’…

like, that's the whole job. it sets the name. from HTTP auth. iconic behaviour honestly.


πŸŽ€ SYNOPSIS πŸŽ€

okay so first, go to your kwiki and whisper the config into existence:

$ cd /path/to/kwiki
$ echo "users_class: Kwiki::Users::Remote" >> config.yaml

then, in your Apache configuration, you're gonna do this whole vibe:

<Location /kwiki>
    AuthName     "my kwiki"
    AuthType     Basic
    AuthUserFile /path/to/htpasswd
    Require      valid-user
</Location>

and optionally, if you also wanna display the user name (slay), you do:

$ cd /path/to/kwiki
$ kwiki -add Kwiki::UserName::Remote
note the tiny but mighty difference bestie: the class in the config is Kwiki::Users::Remote (with an s), and the one you -add is Kwiki::UserName::Remote (no s, plus Name). do not mix them up, I am begging πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so when you're using HTTP authentication for your Kwiki, you use this module to automatically set the user's name from the username they logged in with. that name is the name that shows up in any Recent Changes listing. periodt. no more "who edited this" mystery, the receipts are right there ✨

and also β€” you might also wanna use Kwiki::UserName::Remote. like, as a treat. πŸ’–


🌸 ACKNOWLEDGEMENTS 🌸

shoutout to Gerald Richter, who submitted a patch so that username changes would be recognized under mod_perl. king behaviour, we love to see it πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

Ian Langworth <langworth.com> β€” thank you for your service πŸ«‘πŸ’œ


🌈 SEE ALSO 🌈

  • Kwiki
  • Kwiki::UserName::Remote

go read them, iykyk πŸ“šβœ¨


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.

fr fr, same terms as Perl itself β€” go check Perl's license if you need the deets, that's the whole clause bestie πŸ’…

the cute sign-off πŸŽ€πŸ¦‹βœ¨

this page came from perl v5.42.0 and it's dated 2025-07-25, so if you're reading this from some other timeline, vibe check accordingly. mwah, bye bestie πŸ’–πŸŒΈπŸ’…

πŸ“¦ where this page comes from