Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apache 2.4
#2
Since the 'order' directive is heavily used in GetSimple CMS you will need to:
1. Wait until (if) an official method will come from GetSimple or
2. Try to use Apache 2.2 or
3. Manually modify all the .htaccess files to fit the new directives (check below the documentation)

Note: Apache 2.4 normally should have the new module mod_access_compat for backwards compatibility, check your Apache 2.4 install if you have it.

From the Apache documentation:
In this example, all requests are denied.
Quote:Apache 2.2 configuration:
Order deny,allow
Deny from all
Quote:Apache 2.4 configuration:
Require all denied

In this example, all requests are allowed.
Quote:Apache 2.2 configuration:
Order allow,deny
Allow from all
Quote:Apache 2.4 configuration:
Require all granted

In the following example, all hosts in the example.org domain are allowed access; all other hosts are denied access.
Quote:Apache 2.2 configuration:
Order Deny,Allow
Deny from all
Allow from example.org
Quote:Apache 2.4 configuration:
Require host example.org

For more info see (since theres other changes in 2.4 aswell): Upgrading to 2.4 from 2.2 - Apache HTTP Server

A quick hack that should work would be (found on stackoverflow):
Quote:#Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>

#Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Reply


Messages In This Thread
Apache 2.4 - by jay_m - 2013-10-31, 13:23:26
RE: Apache 2.4 - by Kolyok - 2013-10-31, 20:36:14
RE: Apache 2.4 - by shawn_a - 2014-01-10, 04:53:13
RE: Apache 2.4 - by SlavaP - 2014-02-17, 21:49:15
RE: Apache 2.4 - by shawn_a - 2014-02-17, 23:53:21
RE: Apache 2.4 - by SlavaP - 2014-02-18, 00:09:44



Users browsing this thread: 1 Guest(s)