From 9662879e522f1df61b936a97e229db567d59da9d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 11 Jan 2015 15:15:51 +0100 Subject: [PATCH] Fixed: Permissions --- build/debian/apache/.htaccess | 14 ++++++++++++-- build/debian/apache/dolibarr.conf | 9 +++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) 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