AH01630: client denied by server configuration: C:/AppServ/www/server-status 是?
這個訊息是 Apache HTTP Server 的錯誤日誌提示。
AH01630: client denied by server configuration → 表示「客戶端被伺服器設定拒絕」。
C:/AppServ/www/server-status
→ 指的是有人嘗試存取 server-status 頁面,但伺服器設定不允許。
server-status 是 Apache 的 mod_status 模組提供的狀態頁面,用來顯示目前伺服器的連線、請求、效能等資訊。
出於安全考量,預設只允許本機(localhost)存取,避免外部使用者看到敏感的伺服器資訊。
如果外部 IP 嘗試打開,就會在日誌裡出現這個錯誤訊息。
在 httpd.conf 或相關設定檔中,<Location /server-status> 區塊有設定 Require local。
你或其他人從外部電腦嘗試存取 /server-status。
沒有正確設定存取權限。
如果你真的需要外部存取,可以修改設定檔,例如:
<IfModule mod_status.c> <Location /server-status> SetHandler server-status # 允許本機 Require local # 允許特定 IP Require ip 192.168.1.100 </Location> </IfModule>