diff --git a/build/debian/apache/.htaccess b/build/debian/apache/.htaccess index 8ab3fb95cd1..21fdbc00cf7 100644 --- a/build/debian/apache/.htaccess +++ b/build/debian/apache/.htaccess @@ -1,7 +1,17 @@ +# To disable access = 2.3> Require all denied -Order deny,allow -Deny from all +Order deny, allow +Denied from all + + +# To allow access += 2.3> +Require all granted + + +Order allow, deny +Allow from all diff --git a/build/debian/apache/dolibarr.conf b/build/debian/apache/dolibarr.conf index ae1d7b46d8e..3ceaa5ab1a9 100644 --- a/build/debian/apache/dolibarr.conf +++ b/build/debian/apache/dolibarr.conf @@ -14,8 +14,13 @@ Alias /dolibarr /usr/share/dolibarr/htdocs # Directory for web pages - Order deny,allow - Allow from all + = 2.3> + Require all granted + + + Order allow, deny + Allow from all + DirectoryIndex index.php Options +FollowSymLinks +Indexes