Red Hat Bugzilla – Bug 871373
Broken configuration for httpd 2.4
Last modified: 2016-02-10 09:43:22 EST
This bug if a tracker for all web applications to provide an apache configuration file compatible with httpd 2.4.
http 2.4 use the Require directive for all access control
http 2.2 use the allow/deny/order which are emulated by the mod_acces_compat
But, using old allow/deny/order directives allow to restrict a sub-folder access, it doesn't allow to open a sub-folder (as / directory is protected by mod_authz_core)
Here is sample file, compatible with both httpd 2.2 and 2.4
# Apache 2.4
# Apache 2.2
Deny from all
Allow from 127.0.0.1
Allow from ::1
When cut/paste, plese don't forget to fix a little typo in the last </IfModule> :)
I saw two conf files that picked up the typo. /etc/httpd/conf.d/tiquit.conf and /etc/httpd/conf.d/limph.conf .
Open to everyone
Require all granted
Close for everyone
Require all denied
By default, in a group of authorization directives, only one have to succeed (<RequireAny>), see <RequireAll> if you need all to succeed, ex:
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '18'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 18's end of life.
Thank you for reporting this issue and we are sorry that we may not be
able to fix it before Fedora 18 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior to Fedora 18's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.
Not finished yet.
This bug is currently assigned to an unsupported release. If you think this bug is still valid and should remain open, please re-assign it to a supported release (F22, F23) or to rawhide.
Bugs which will be assigned to an unsupported release are going to be closed as EOL (End Of Life) on January 26th, 2016.