がるの健忘録

エンジニアでゲーマーで講師で占い師なおいちゃんのブログです。

有り得ないmemo:apache2.2系でdigest認証

作業覚え書き。

perhaps misspelled or defined by a module not included in the server configuration

っていうエラーがでた。


とりあえず

./configure --prefix=/opt/apache_2.2.8 --sysconfdir=/opt/apache_2.2.8/conf --enable-modules="so ssl auth_digest_module authn_file_module authz_user_module authz_owner_module " --with-ssl=/usr/local/ssl

して、.htaccess

AuthType Digest
AuthName れるむめい
AuthDigestProvider file
AuthUserFile ぱすわぁどふぁいるめい
Require valid-user

って書いて、ぱすわぁどふぁいるは

htdigest -c ぱすわぁどふぁいるめい れるむめい ゆーざめい

こんな風に作った。


いぢょ。