・ ・ ・ # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" AllowOverride AuthConfig ・ ・ ・
$ /usr/local/apache/bin/htdigest -c /home/hoge/.htpasswd.digest Private hogeuser
$ cat /home/hoge/.htpasswd.digest hogeuser:Private:d675482f815f01ff7dff9d70f5ddf3fb
AuthDigestFile /home/hoge/.htpasswd.digest AuthGroupFile /dev/null AuthName "Private" AuthType Digest <Limit POST GET> require valid-user </Limit>
$ cd apache_1.3.27/src/modules/experimental $ /usr/local/apache/bin/apxs -c -D DEV_RANDOM mod_auth_digest.c $ su # /usr/local/apache/bin/apxs -i mod_auth_digest.so
LoadModule digest_auth_module libexec/mod_auth_digest.so AddModule mod_auth_digest.c
# /etc/rc.d/init.d/httpd restart