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:[email protected]
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: [email protected]
For additional commands, e-mail: [email protected]