Skip to content

Commit 3b3ae75

Browse files
committed
magento#11459: Migrates Apache Access Syntax to 2.4
- updated functional tests sample htaccess
1 parent ad72d1c commit 3b3ae75

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

dev/tests/functional/.htaccess.sample

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
##############################################
22
## Allow access to command.php, website.php, export.php, pathChecker.php, locales.php, deleteMagentoGeneratedCode.php and log.php
33
<FilesMatch "command.php|website.php|export.php|pathChecker.php|deleteMagentoGeneratedCode.php|log.php|locales.php">
4-
order allow,deny
5-
allow from all
4+
<IfVersion < 2.4>
5+
order allow,deny
6+
allow from all
7+
</IfVersion>
8+
<IfVersion >= 2.4>
9+
Require all granted
10+
</IfVersion>
611
</FilesMatch>

0 commit comments

Comments
 (0)