apache下htaccess的Invalid command 'AuthUserFile'错误

使用了apache的 .htaccess做身份认证后, 无法访问

查看日志报错如下:

Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration

LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so
LoadModule authz_owner_module /usr/lib/apache2/modules/mod_authz_owner.so
LoadModule authn_file_module  /usr/lib/apache2/modules/mod_authn_file.so

ok,问题解决

2008-03-05 17:28 217 apache htaccess 身份验证