這是我htaccess文件目錄/home/domain.nl/public_html/helpdesk
Directory認證工作不
Require user agent8 agent9 agent10
AuthType Basic
AuthName this_protected_area
AuthUserFile /home/domain.nl/public_html/.htpasswd
但是,當我去domain.nl/helpdesk我得到一個324錯誤(ERR_EMPTY_RESPONSE)。那麼最新錯誤?我確定htpasswd文件位於正確的位置。
在錯誤日誌我看到這個錯誤:
(13)Permission denied: Couldn't read /home/domain.nl/public_html/errors/.htaccess, closing connection.
好吧,和往常一樣的問題:服務器日誌報告什麼? – arkascha
(13)權限被拒絕:無法讀取/home/domain.nl/public_html/errors/.htaccess,關閉連接。 –
你有沒有定製的401頁面?它發生在'/ error'目錄嗎? –