"Fossies" - the Fresh Open Source Software Archive

Member "mod_auth_radius-1.5.7/htaccess" (23 Oct 2000, 1382 Bytes) of package /linux/www/apache_httpd_modules/old/mod_auth_radius-1.5.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ######################################################################
    2 #
    3 #  A sample per-directory access-control configuration, to be used
    4 #  as a '.htacces' file.
    5 #
    6 
    7 #
    8 # Use basic password authentication.
    9 # AuthType Digest won't work with RADIUS authentication.
   10 #
   11 AuthType Basic
   12 
   13 #
   14 # Tell the user the realm to which they're authenticating.
   15 # This string should be configured for your site.
   16 #
   17 AuthName "RADIUS authentication for localhost"
   18 
   19 #
   20 # don't use 'mod_auth'.
   21 # You might want to disable other authentication types here.
   22 # You can get a similar effect by commenting out the
   23 # 'AddModule mod_auth_*' lines, previously in httpd.conf
   24 #
   25 AuthAuthoritative off
   26 
   27 #
   28 # Use mod_auth_radius for all authentication, and make the responses
   29 # from it authoritative.
   30 #
   31 AuthRadiusAuthoritative on
   32 
   33 #
   34 # Make a local variation of AddRadiusCookieValid.  The server will choose
   35 # the MINIMUM of the two values.
   36 #
   37 # AuthRadiusCookieValid <minutes-for-which-cookie-is-valid>
   38 #
   39 AuthRadiusCookieValid 5
   40 
   41 #
   42 # Set the use of RADIUS authentication at this <Location>"
   43 #
   44 # Locally set the RADIUS authentication active.
   45 #
   46 # If there is a directory which you do NOT want to have RADIUS
   47 # authentication for, then use a <Directory> directive, and
   48 # set "AuthRadiusActive Off"
   49 #
   50 AuthRadiusActive On
   51 
   52 #
   53 # require that mod_auth_radius return a valid user, otherwise
   54 # access is denied.
   55 #
   56 require valid-user