How to authenticate Apache 2 with Radius on Debian March 7th, 2010
Install Apache radius module :
enable radius module for Apache :
open /etc/apache2/apache2.conf and add the following lines to end of file :
go to /var/www folder or the folder which you want to protect and create a .htaccess file inside it containing following lines :
1 |
AuthType Basic |
2 |
AuthName "AdminseHow Radius Authentication" |
3 |
AuthBasicAuthoritative Off |
4 |
AuthBasicProvider radius |
5 |
AuthRadiusAuthoritative on |
6 |
AuthRadiusActive On |
7 |
Require valid-user |
restart Apache :
for more info regarding the configuration options , you can read the following link :
http://freeradius.org/mod_auth_radius/
source here
