無効なコマンド「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

おすすめ記事