Apache error: Client Denied by Server Configuration Error
I recently upgraded Apache and have been getting this error since: "Client Denied by Server Configuration Error" How do I fix this?
Some changes were made between Apache versions 2.2 and 2.4.
You'll need to edit your httpd.conf file to reflect the following:
- Remove “Order deny,allow”, “Order allow,deny”, or any related line
- Replace “Allow from all” with “Require all granted”
- Replace “Deny from all” with “Require all denied”
- For allowing a specific hostname, change the line from "Allow from hostname" to "Require host hostname"
For a list of all changes made to Apache 2.4, you can refer to the following document: