Apache2: 'AH01630: client denied by server configuration'

回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Apache2: 'AH01630: client denied by server configuration'

文章 yehlu »

https://stackoverflow.com/questions/183 ... figuration


574
down vote
accepted
If you are using Apache 2.4

You have to check allow and deny rules

Check out http://httpd.apache.org/docs/2.4/upgrading.html#access

In 2.2, access control based on client hostname, IP address, and other characteristics of client requests was done using the directives Order, Allow, Deny, and Satisfy.

In 2.4, such access control is done in the same way as other authorization checks, using the new module mod_authz_host.
The new directive is Require:

2.2 configuration:

代碼: 選擇全部

Order allow,deny
Allow from all
2.4 configuration:

代碼: 選擇全部

Require all granted
Also don't forget to restart the apache server after these changes (# service httpd restart)
回覆文章

回到「apache」