Apache error: Client Denied by Server Configuration Error

Linode Staff

I recently upgraded Apache and have been getting this error since: "Client Denied by Server Configuration Error" How do I fix this?

1 Reply

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:

Upgrading to Apache 2.4


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct