a2dismod
htaccess ファイルのコマンドを使用してモジュールを無効にします。これがコマンドです。両方を無効にしようとしました。
a2dismod mod_authn_file
(OR)
a2dismod authn_file_module
Apache ログにエラーが表示されました。
.htaccess: Invalid command 'a2dismod', perhaps misspelled or defined by a module not included in the server configuration
どうすれば修正できますか?