Fixed: Permissions

This commit is contained in:
Laurent Destailleur 2015-01-11 15:15:51 +01:00
parent e4b89779f7
commit 9662879e52
2 changed files with 19 additions and 4 deletions

View File

@ -1,7 +1,17 @@
# To disable access
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order deny,allow
Deny from all
Order deny, allow
Denied from all
</IfVersion>
# To allow access
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order allow, deny
Allow from all
</IfVersion>

View File

@ -14,8 +14,13 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
# Directory for web pages
<Directory /usr/share/dolibarr/htdocs>
Order deny,allow
Allow from all
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order allow, deny
Allow from all
</IfVersion>
DirectoryIndex index.php
Options +FollowSymLinks +Indexes