The difference between Apache 2.2 VS Apache 2.4 (.htaccess)
Posted by Devin Lee on 28 August 2017 01:32 AM

The difference between Apache 2.2 VS Apache 2.4 

You might have the .htaccess file on the folder of web page.

If you upgrade from ADM 2.7 to ADm 3.0 , please remember to check if those .htaccess file follow the 

Appache 2.4 configuration. Please refer the following information to correct .htaccess file.

1) Deny All:
2.2 configuration:
Order deny,allow
Deny from all

2.4 configuration:
Require all denied
Allow All

2) Allow All:
2.2 configuration:
Order allow,deny
Allow from all

2.4 configuration:
Require all granted
Allow Host

3) Allow Host
2.2 configuration:
Order Deny,Allow
Deny from all
Allow from
2.4 configuration:
Require host

4) Directory should use : Require all granted
<Directory /var/>
Options FollowSymLinks
AllowOverride None
Require all granted

5) FilesMatch : Order
<FilesMatch ".+\.phps$">
SetHandler application/x-httpd-php-source
Order Deny,Allow
Allow from all

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion