Apache2: 'AH01630: client denied by server configuration'
發表於 : 2017-10-10 10:43:26
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:
2.4 configuration:
Also don't forget to restart the apache server after these changes (# service httpd restart)
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
代碼: 選擇全部
Require all granted