summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.htaccess8
-rw-r--r--bin/README5
2 files changed, 13 insertions, 0 deletions
diff --git a/bin/.htaccess b/bin/.htaccess
new file mode 100755
index 00000000..a3815526
--- /dev/null
+++ b/bin/.htaccess
@@ -0,0 +1,8 @@
+DirectoryIndex .htaccess
+SetHandler Gallery_Security_Do_Not_Remove
+Options None
+<IfModule mod_rewrite.c>
+RewriteEngine off
+</IfModule>
+Order allow,deny
+Deny from all
diff --git a/bin/README b/bin/README
new file mode 100644
index 00000000..ec09639f
--- /dev/null
+++ b/bin/README
@@ -0,0 +1,5 @@
+This directory contains utility software that Gallery uses to perform
+image manipulation and other useful functions. It should not be
+accessible from a web browser, and by default it's empty. Gallery
+will instruct you when it's appropriate to download software and
+install it here.