无效命令“AuthAuthoritative”

无效命令“AuthAuthoritative”

我正在尝试启动 Apache2 服务器,但收到此错误:

Invalid command 'AuthAuthoritative', perhaps misspelled or defined by a module not included in the server...iguration

这是以下配置httpd.conf

AllowOverride           all

Satisfy                 any

AuthAuthoritative       on
AuthUserFile            /home/netmet/netMet/etc/apache.passwd
AuthGroupFile           /home/netmet/netMet/etc/apache.group
AuthName                "netMET access's"
AuthType                Basic
require                 group netmet netmet-cgi

order                   deny,allow
deny from               all
allow from              host.domain.fr

答案1

记得加载mod_auth。如果你使用一些有的发行版a2enmod,那就是了a2enmod auth

相关内容