httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James B. Byrne" <byrn...@harte-lyne.ca>
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
OS=CentOS-6.5

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
</Directory>


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

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

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
</Directory>


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                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message