summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/images/.htaccess10
-rw-r--r--public/media/.htaccess10
2 files changed, 20 insertions, 0 deletions
diff --git a/public/images/.htaccess b/public/images/.htaccess
new file mode 100644
index 0000000..4494297
--- /dev/null
+++ b/public/images/.htaccess
@@ -0,0 +1,10 @@
1# désactiver l'interpréteur PHP
2php_flag engine off
3
4# exploration des dossiers
5Options -Indexes
6
7# interdire l'accès directaux fichiers .htaccess et .htpasswd
8<FilesMatch "^\.(htaccess|htpasswd)$">
9 Require all denied
10</FilesMatch>
diff --git a/public/media/.htaccess b/public/media/.htaccess
new file mode 100644
index 0000000..4494297
--- /dev/null
+++ b/public/media/.htaccess
@@ -0,0 +1,10 @@
1# désactiver l'interpréteur PHP
2php_flag engine off
3
4# exploration des dossiers
5Options -Indexes
6
7# interdire l'accès directaux fichiers .htaccess et .htpasswd
8<FilesMatch "^\.(htaccess|htpasswd)$">
9 Require all denied
10</FilesMatch>