]> git.pld-linux.org Git - packages/apache-mod_auth_xradius.git/blob - apache-mod_auth_xradius.conf
- sample config
[packages/apache-mod_auth_xradius.git] / apache-mod_auth_xradius.conf
1     ## This Loads mod_auth_xradius into Apache
2     LoadModule auth_xradius_module modules/mod_auth_xradius.so
3     
4     ## The Cache for mod_auth_xradius must be configured globally.
5     ## If you do not want Authentication Caching, set:
6     # AuthXRadiusCache none -
7
8     ## A Local DBM Based Cache (low performance)
9     # AuthXRadiusCache dbm "conf/auth_xradius_cache"
10
11     ## Only a Single memcached Server
12     # AuthXRadiusCache memcache "127.0.0.1"
13     ## Multiple memcached Servers
14     AuthXRadiusCache memcache "127.0.0.1 10.0.0.10 10.0.0.11 10.0.0.11:11212"
15
16     ## Time in Seconds that an entry will be cached.
17     AuthXRadiusCacheTimeout 300
18         
19     <Directory "/path/to/my/docroot">
20         ## All of the directives inside the <Directory> block can be placed
21         ## inside '.htaccess' files.
22             
23         ## This is what the client sees in their Prompt.
24         AuthName "Private Area"
25             
26         ## Type of authentication to use.  
27         AuthType basic
28             
29         ## Address and the Shared Secret of the RADIUS Server to contact.
30         AuthXRadiusAddServer "localhost:1812" "super-secret"
31         ## Multiple Servers can be added in the same context.
32         # AuthXRadiusAddServer "10.0.0.10:1812" "2secrets"
33         # AuthXRadiusAddServer "10.0.0.11:1812" "secret1"
34             
35         ## Time in Seconds to wait for replies from the RADIUS Servers
36         AuthXRadiusTimeout 2
37             
38         ## Number of times to resend a request to a server if no reply is received. 
39         AuthXRadiusRetries 2
40             
41         ## This tells apache that we want a valid user and password.
42         require valid-user
43     <Directory>
This page took 0.057533 seconds and 3 git commands to generate.