Secure the server: prevent the users from browsing/getting files from the conf directories.

With Apache, it is still a must to enable htaccess with the spec "AllowOverride All". The index.php files are here to prevent from browsing whatever the HTTP server config.
This commit is contained in:
Lars Hippler
2019-03-08 09:31:59 +01:00
committed by Pierre Goiffon
parent 76c3f640db
commit cb7c382b99
4 changed files with 29 additions and 1 deletions

2
conf/index.php Normal file
View File

@@ -0,0 +1,2 @@
<?php
echo 'Access denied';