Q1. Apache httpd-2.4.9 configuration : client denied by server configuration error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux