34 lines
987 B
ApacheConf
34 lines
987 B
ApacheConf
<IfDefine AUTHNZ_EXTERNAL>
|
|
LoadModule authnz_external_module modules/mod_authnz_external.so
|
|
|
|
# provided by net-www/pwauth
|
|
#AddExternalAuth pwauth /etc/apache2/modules/pwauth
|
|
#SetExternalAuthMethod pwauth pipe
|
|
|
|
# For external group check (provided by net-www/pwauth)
|
|
#AddExternalGroup unixgroup modules/unixgroup
|
|
#SetExternalGroupMethod unixgroup environment
|
|
|
|
# Put an .htaccess file in whatever directory you want to protect.
|
|
# A typical .htaccess file would look like:
|
|
#
|
|
# AuthName Your-Site-Name
|
|
# AuthType Basic
|
|
# 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
|
|
</IfDefine>
|
|
|
|
# vim: ts=4 filetype=apache
|