FUN WITH LINUX

Apache2: Upgrading from 2.2 to 2.4

3 May 2015

If you Upgrade your Debian Webservers to the new Debian-relase “Jessie”, you might experience some issues with the config-syntax of Apache2.4.

Here are some examples of old and new ways to do the same access control:

2.2 configuration:

Order deny,allow
Deny from all

2.4 configuration:

Require all denied

2.2 configuration:

Order allow,deny
Allow from all

2.4 configuration:

Require all granted

2.2 configuration:

Order Deny,Allow
Deny from all
Allow from example.org

2.4 configuration:

Require host example.org

I really recommend to have a look at the Apache’s Upgrade Site to get an overview of the changes

[ Sysadmin  apache  Debian  ]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti