summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-11 22:01:02 +0400
committerAndrew Dolgov <[email protected]>2013-04-11 22:01:10 +0400
commite1f76af0068bd2cf5ce4a4203b7727d5b3111c04 (patch)
tree389a147d1d75ee0ccce573bacc3bb3dda08b6c3b
parent70a1fb23d0279b660c7affd0d9250a737170bea8 (diff)
block listing of several util directories; deny access to config.php
-rw-r--r--.gitignore1
-rw-r--r--.htaccess7
-rw-r--r--classes/.htaccess2
-rw-r--r--js/index.html0
-rw-r--r--lib/index.html0
-rw-r--r--locale/.htaccess2
-rw-r--r--plugins/index.html0
-rw-r--r--schema/.htaccess2
-rw-r--r--templates/.htaccess2
-rw-r--r--utils/.htaccess2
10 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index d98c0efc3..b4853806c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+/messages.mo
*~
*.DS_Store
#*
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 000000000..ed58470d4
--- /dev/null
+++ b/.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>
diff --git a/classes/.htaccess b/classes/.htaccess
new file mode 100644
index 000000000..93169e4eb
--- /dev/null
+++ b/classes/.htaccess
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/js/index.html b/js/index.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/index.html
diff --git a/lib/index.html b/lib/index.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/lib/index.html
diff --git a/locale/.htaccess b/locale/.htaccess
new file mode 100644
index 000000000..93169e4eb
--- /dev/null
+++ b/locale/.htaccess
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/plugins/index.html b/plugins/index.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/plugins/index.html
diff --git a/schema/.htaccess b/schema/.htaccess
new file mode 100644
index 000000000..93169e4eb
--- /dev/null
+++ b/schema/.htaccess
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/templates/.htaccess b/templates/.htaccess
new file mode 100644
index 000000000..93169e4eb
--- /dev/null
+++ b/templates/.htaccess
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/utils/.htaccess b/utils/.htaccess
new file mode 100644
index 000000000..93169e4eb
--- /dev/null
+++ b/utils/.htaccess
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all