2013-03-26 97 views
0

我在htaccess文件中使用a2dismod命令禁用模塊。這是命令,我試圖禁用這兩個命令。如何禁用apache2加載模塊中的mod_authn_file

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 

我怎樣才能解決這個問題?

+0

'a2dismod'在'htaccess'文件? 'a2dismod'是一個命令AFAIK。 – Pigueiras 2013-03-26 07:45:26

回答