Kwiki::ModPerl(3)
π Kwiki::ModPerl π
okay bestie, welcome to the Kwiki::ModPerl(3) page, part of the User Contributed Perl Documentation collection β¨ β yes it's a real manpage, yes it's about making Kwiki live inside mod_perl, and yes we're gonna make it make sense π«Ά
πΈ NAME πΈ
Kwiki::ModPerl β the glow-up that lets Kwiki run under mod_perl π
β¨ SYNOPSIS β¨
Start by making a brand new Kwiki, like so:
$ kwiki -new /path/to/webroot/kwiki
Then, bestie, you go tell Apache what's up:
<Location /kwiki>
SetHandler perl-script
PerlSetVar KwikiBaseDir /path/to/webroot/kwiki
PerlHandler +Kwiki::ModPerl
</Location>
Got a custom lib directory for your Kwiki? Then you also need this:
<Perl>
use lib '/path/to/webroot/kwiki/lib';
</Perl>
And ooh, if you're running mod_perl2, pls pls pls add this one line into your httpd.conf:
PerlModule Apache2
π DESCRIPTION π
This module is literally just here so you can use Kwiki as a mod_perl content handler. That's the whole vibe. No cap. π
π¦ FEATURES, BUGS and NOTES π¦
- Sub-view are supported automatically π
You do not need any extra apache configuration for this. It just works. Iconic behaviour fr fr.
- Multiple Kwikis are supported. π
As long as each Kwiki has its own KwikiBaseDir, you're golden. Periodt.
- You might need a redirect for the Kwiki base directory. π
For example, if your Kwiki is at the location "/kwiki/" and you browse to "/kwiki" (without the trailing slash), you'll definitely experience some weirdness. I highly suggest adding a redirect:
RedirectMatch ^/kwiki$ http://example.com/kwiki/
- Why index.cgi still shows up in the URL ? π
Don't worry, it's ignored internally, so that it is still handled under mod_perl, not as a cgi script. Also, It can make all browser happy with relative URI redirection. (Although it shouldn't be a relative redirection, should be fixed in Kwiki base in the future).
- You might need to restart Apache. π
Otherwise module additions and removal might not be working. Yeah. Just restart it, bestie.
π AUTHORS π
Ian Langworth <langworth.com> π
Now Maintained by Kang-min Liu <gugod@gugod.org> β¨
π SEE ALSO π
Kwiki β go look at that one too, iykyk π§
π COPYRIGHT AND LICENSE π
Copyright (C) 2004 by Ian Langworth Copyright (C) 2005 by Kang-min Liu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Slay, honestly. π
and that's a wrap, bestie!! this page came to you fromperl v5.42.0, dated2025-07-25, and it isKwiki::ModPerl(3)β go forth and mod_perl responsibly π«Άβ¨πΈ
π¦ where this page comes from
- fedora 43: perl-Kwiki-ModPerl 0.09-55.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms