Perlba...edirect(3pm)
π NAME π
Perlbal::Plugin::Redirect β the plugin that does redirecting in Perlbal land β¨
okay so bestie, this is a User Contributed Perl Documentation page, and it's a short one but it's lowkey iconic π
π¦ SYNOPSIS π¦
here's the whole vibe, verbatim, no cap:
LOAD redirect
CREATE SERVICE redirector
SET role = web_server
SET plugins = redirect
REDIRECT HOST example.com www.example.net
ENABLE redirector
likeβ¦ look at her go π
you LOAD redirect first, then you CREATE SERVICE redirector, you set the role to web_server, you set the plugins to redirect, you do the whole REDIRECT HOST example.com www.example.net thing, and then you ENABLE redirector and she's live π
πΈ LIMITATIONS πΈ
ngl, she's a little baby plugin and we respect that π here's the tea:
- right now this can only redirect at the hostname level. that's it. that's the whole range. no path shenanigans, no fancy deep-linking, just the hostname. periodt.
- also, she just assumes you want an
http:URL. she's not asking. she's assuming. so if you were hoping forhttps:β¦ she said what she said π
not a bug bestie, just the way she is fr fr π«Ά
and that's the whole page!! π this lil masterpiece is perl v5.34.0, dated 2022-06-28, and it's filed under Perlba...edirect(3pm) β short, sweet, and she ate πβ¨
π¦ where this page comes from
- debian bookworm: libperlbal-perl 1.80-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libperlbal-perl 1.80-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libperlbal-perl 1.80-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libperlbal-perl 1.80-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms