Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 70afb5465f7a660140028e4c712d9354 > files > 1

apache-mod_authnz_external-3.2.5-5.1.mga2.i586.rpm

<IfModule !mod_authnz_external.c>
    LoadModule authnz_external_module	extramodules/mod_authnz_external.so
</IfModule>


<IfModule mod_authnz_external.c>

AddExternalAuth pwauth /usr/bin/pwauth
SetExternalAuthMethod pwauth pipe

# For external group check
# AddExternalGroup unixgroup /usr/bin/unixgroup
# SetExternalGroupMethod  unixgroup environment

#  Put an .htaccess file in whatever directory you want to protect.
#     (For .htaccess files to work, you may need to change some
#     "AllowOverride None" directives in your httpd.conf file into
#     "AllowOverride AuthConfig" directives).
#
#     A typical .htaccess file would look like:
#
#     AuthName Your-Site-Name
#     AuthType Basic
#     AuthBasicProvider external
#     AuthExternal pwauth
#     require valid-user
# or 
# 					 require user1
#
#     GroupExternal unixgroup
#     AuthGroupFile /dev/null
#     require group <groupname1> <groupname2> ...
#
#     Alternately, you can put a <Directory> block with the same directives
#     in your httpd.conf file.
#
# Note1:	Using group method, don't forget to add users in the authorized group
# group files
# somegroup:x:500:user1,user2,user3
#
# 
# - samples from pwauth/INSTALL 

</IfModule>