PHP web page radius authentation

Apu islam apu_islam at yahoo.com
Sat Nov 26 21:38:24 CET 2005


I never tried with with php, but there is an apache
module available which you can pretty easily use with
perl or perhaps mod_perl even. 
Here is the sample code, Apache::AuthenRadius

 # Configuration in httpd.conf

 PerlModule Apache::AuthenRadius

 # Authentication in .htaccess

 AuthName Radius
 AuthType Basic

 # authenticate via Radius
 PerlAuthenHandler Apache::AuthenRadius

 PerlSetVar Auth_Radius_host radius.foo.com
 PerlSetVar Auth_Radius_port 1647
 PerlSetVar Auth_Radius_secret MySharedSecret
 PerlSetVar Auth_Radius_timeout 5

 require valid-user


-apu



--- "Global Net, LLC" <jeffa at globalco.net> wrote:

> Does anyone have a working php authentation page
> working with the radius
> server
> to authentate users to a website using the radius
> server?
> 
> I have found one example on the net, but able to get
> it to work.
> using Freebsd, and apache and php5> - 
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


------------------------------
Do or Do Not, there is no try.



More information about the Freeradius-Users mailing list