在AEM Dispatcher中設定基本驗證後,記錄檔中的「AH01620:無法開啟密碼檔案」
重新命名.htpasswd檔案以移除初始"。" 句點標籤(例如:將".htpasswd"變更為"_htpasswd")。
說明 description
環境
Adobe Experience Manager (AEM)as a Cloud Service版已設定基本驗證
已在/conf.d資料夾中新增.htpasswd檔案。
問題
設定 基本驗證 後,記錄檔中的「Error "AH01620: Could not open password file: /etc/httpd/conf.d/.htpasswd」。
[ authn_file:error] [ pid 241:tid 140454739073848] (2)No such file or directory: [ client 000.00.00.000:0] AH01620: Could not open password file: /etc/httpd/conf.d/.htpasswd
解決方法 resolution
要解決的步驟
重新命名.htpasswd檔案以移除初始「。」 句點標籤(例如:將".htpasswd"變更為"_htpasswd")。
原因
以「。」開頭的檔案 預先處理組態時,會將期間標籤視為隱藏且已移除。
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f