Apache 2.4 keeps httpd.conf from 2.2 ?

Duboux

Verified User
Joined
Apr 20, 2007
Messages
264
Hi,

I'm having Apache 2.4 for a while now, but when I look at the httpd.conf I see directions to help-files in the 2.2 version section.
Does this mean that the conf files haven't updated to 2.4 ?

When I do ./build rewrite_confs it stays the same.

What can I do ?
 
Hi Jeff,

this file /etc/httpd/conf/httpd.conf contains
/etc/httpd/conf/httpd.conf said:
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>

And the .conf files in /etc/httpd/conf/extra/ are still holding the old values like:
Order deny,allow
Deny from all
and
Order allow,deny
Allow from all

which should be values like:
Require all denied
and
Require all granted

And these old values may also exist in users custom httpd.conf's and .htaccess files.
 
I'm presuming this is a new style of apache directive; I haven't read he docs (I suppose I should). Let's see if anyone else replies now that you've explained the problem.

Jeff
 
Hi Jeff,

this file /etc/httpd/conf/httpd.conf contains


And the .conf files in /etc/httpd/conf/extra/ are still holding the old values like:
and


which should be values like:

and


And these old values may also exist in users custom httpd.conf's and .htaccess files.
These new commands can't be used with the default CB configuration, because mod_access_compat forces the use of the older style
 
Last edited:
Back
Top