httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James B. Byrne" <>
Subject [users@httpd] Q1. Apache httpd-2.4.9 configuration : client denied by server configuration error
Date Fri, 26 Sep 2014 16:24:50 GMT

We have locally built and packaged this version of httpd to replace httpd-2.2
which ships with CentOS-6.5.  Upon restarting the upgraded httpd server we
received the error message "client denied by server configuration".  The
distributed conf/httpd.conf configuration file contains this:

<Directory />
   AllowOverride none
   Require all denied

The virtual server that reported the error contains this:
  DocumentRoot "/var/data/ca.harte-lyne/public_html"
. . .
  <Directory "/var/data/ca.harte-lyne/public_html">
    AllowOverride all
    Options +Indexes -Multiviews
    Require all granted

  <Location />
    Require all granted
    SetEnv RAILS_ENV production
. . .

The only way we could get this virtual server to respond instead of logging a
'client denied by server configuration' error was to comment out the
directives in httpd.conf as shown.

<Directory />
#   AllowOverride none
#   Require all denied

Is this in fact what we needed to do?  If not then what should we have done?

***          E-Mail is NOT a SECURE channel          ***
James B. Byrne      
Harte & Lyne Limited
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message