Fixed: Permissions
This commit is contained in:
parent
e4b89779f7
commit
9662879e52
@ -1,7 +1,17 @@
|
|||||||
|
# To disable access
|
||||||
<IfVersion >= 2.3>
|
<IfVersion >= 2.3>
|
||||||
Require all denied
|
Require all denied
|
||||||
</IfVersion>
|
</IfVersion>
|
||||||
<IfVersion < 2.3>
|
<IfVersion < 2.3>
|
||||||
Order deny,allow
|
Order deny, allow
|
||||||
Deny from all
|
Denied from all
|
||||||
|
</IfVersion>
|
||||||
|
|
||||||
|
# To allow access
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order allow, deny
|
||||||
|
Allow from all
|
||||||
</IfVersion>
|
</IfVersion>
|
||||||
|
|||||||
@ -14,8 +14,13 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
|
|||||||
|
|
||||||
# Directory for web pages
|
# Directory for web pages
|
||||||
<Directory /usr/share/dolibarr/htdocs>
|
<Directory /usr/share/dolibarr/htdocs>
|
||||||
Order deny,allow
|
<IfVersion >= 2.3>
|
||||||
Allow from all
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order allow, deny
|
||||||
|
Allow from all
|
||||||
|
</IfVersion>
|
||||||
|
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
Options +FollowSymLinks +Indexes
|
Options +FollowSymLinks +Indexes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user