Apache...Radius(3pm)

πŸ“¦
version 1.05 Β· 2 versions
, in debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’– NAME πŸ’–

okay bestie, meet Apache2::SiteControl::Radius β€” a Raduis authentication module for SiteControl. yes, "Raduis," that's literally how it's spelled up in here, i'm not fixing it, it's iconic now 🫢

(it's a Perl module, a User Contributed Perl Documentation one, living in section 3pm β€” iykyk πŸ’…)


✨ SYNOPSIS ✨

so this is a config thing, not a run-it-in-your-shell thing. you drop it into Apache/mod_perl's configuration like this:

PerlModule Apache2::SiteControl

<Location /sample>
...
   PerlSetVar SiteControlMethod Apache2::SiteControl::Radius
...
</Location>

<FilesMatch "\.pl$">
 ...
 PerlSetVar RadiusSiteControlHost "localhost"
 PerlSetVar RadiusSiteControlSecret "mysecret"
 ...
</FilesMatch>

<Location /SampleLogin>
 ...
   PerlSetVar RadiusSiteControlHost "localhost"
   PerlSetVar RadiusSiteControlSecret "mysecret"
 ...
</Location>

look at those ...s just vibing in there, they're placeholders, leave them alone 😌


🌸 DESCRIPTION 🌸

Apache2::SiteControl::Radius uses Authen::Radius to do the actual authentication of login attempts for the SiteControl system. that's the whole job. it shows up, it checks the login, it slays, it goes home πŸ’…

for a complete apache configuration example you gotta go read the SiteControl documentation, because this module is not a stand-alone thing β€” it can't carry the whole setup on its own, main character though it is. the synopsis up there shows the config parameters for the radius module only.

the proper variables for the apache configuration of this module are exactly the ones shown in the synopsis above. and listen β€” you must set the radius host and the shared secret in all sections that will use the SiteControl system for authentication. every single one. no skipping, no "surely one is enough," no cap. 🚨


πŸ¦‹ SEE ALSO πŸ¦‹

  • Apache2::SiteControl

πŸŽ€ AUTHOR πŸŽ€

this module was written by Tony Kay, <tkay@uoregon.edu>. king behavior, honestly πŸ‘‘


(this section is empty in the original, so it's empty here too β€” respecting the silence ✨)


a lil recap bestie: set RadiusSiteControlHost and RadiusSiteControlSecret everywhere SiteControl is doing auth, and remember this module is a teammate, not a solo act 🫢

perl v5.26.2 Β· 2018-08-31 β€” that's the version and date this lil page came from, so if you're on something newer, vibe check your own docs too πŸ’–πŸŒΈβœ¨