diff --git a/.htaccess.dist b/.htaccess.dist index 5724a6e044..ec28dff859 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -6,8 +6,13 @@ ## make sure nobody gets the htaccess, README, COPYING or VERSION files - Order allow,deny - Deny from all + + Require all denied + + + Order allow,deny + Deny from all + ## Uncomment these rules if you want to have nice URLs using diff --git a/bin/.htaccess b/bin/.htaccess index 281d5c33db..5f279f1806 100644 --- a/bin/.htaccess +++ b/bin/.htaccess @@ -1,2 +1,7 @@ -order allow,deny -deny from all + + Require all denied + + + Order allow,deny + Deny from all + diff --git a/conf/.htaccess b/conf/.htaccess index bcc3ea0bdd..b3ffca597c 100644 --- a/conf/.htaccess +++ b/conf/.htaccess @@ -1,3 +1,8 @@ ## no access to the conf directory -order allow,deny -deny from all + + Require all denied + + + Order allow,deny + Deny from all + diff --git a/data/.htaccess b/data/.htaccess index 281d5c33db..5f279f1806 100644 --- a/data/.htaccess +++ b/data/.htaccess @@ -1,2 +1,7 @@ -order allow,deny -deny from all + + Require all denied + + + Order allow,deny + Deny from all + diff --git a/inc/.htaccess b/inc/.htaccess index 2d9c357fff..2b34c725f6 100644 --- a/inc/.htaccess +++ b/inc/.htaccess @@ -1,3 +1,8 @@ ## no access to the inc directory -order allow,deny -deny from all + + Require all denied + + + Order allow,deny + Deny from all + diff --git a/inc/lang/.htaccess b/inc/lang/.htaccess index 2d69be754f..2aaae02fd5 100644 --- a/inc/lang/.htaccess +++ b/inc/lang/.htaccess @@ -1,3 +1,8 @@ ## no access to the lang directory -order allow,deny -deny from all + + Require all denied + + + Order allow,deny + Deny from all +