Browse Source

block listing of several util directories; deny access to config.php

Andrew Dolgov 6 years ago
parent
commit
e1f76af006
10 changed files with 18 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 7 0
      .htaccess
  3. 2 0
      classes/.htaccess
  4. 0 0
      js/index.html
  5. 0 0
      lib/index.html
  6. 2 0
      locale/.htaccess
  7. 0 0
      plugins/index.html
  8. 2 0
      schema/.htaccess
  9. 2 0
      templates/.htaccess
  10. 2 0
      utils/.htaccess

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
+/messages.mo
 *~
 *.DS_Store
 #*

+ 7 - 0
.htaccess

@@ -0,0 +1,7 @@
+AddType image/svg+xml svg
+AddType image/svg+xml svgz
+
+<Files "config.php">
+	Order deny,allow
+	Deny from all
+</Files>

+ 2 - 0
classes/.htaccess

@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all

+ 0 - 0
js/index.html


+ 0 - 0
lib/index.html


+ 2 - 0
locale/.htaccess

@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all

+ 0 - 0
plugins/index.html


+ 2 - 0
schema/.htaccess

@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all

+ 2 - 0
templates/.htaccess

@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all

+ 2 - 0
utils/.htaccess

@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all