# HG changeset patch
# User heiko
# Date 1448038395 -3600
# Node ID 106c6ee5ae32e616ef4e1130a1a70614dbec4183
# Parent 8211c7cdf8e00291629c6253dfbca9d653c1e933# Parent 55ec9b096bc8f055796984258499c6e57a79b959
[merged]
diff -r 55ec9b096bc8 -r 106c6ee5ae32 .hgignore
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Fri Nov 20 17:53:15 2015 +0100
@@ -0,0 +1,2 @@
+.htaccess
+d/
diff -r 55ec9b096bc8 -r 106c6ee5ae32 apache.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apache.conf Fri Nov 20 17:53:15 2015 +0100
@@ -0,0 +1,14 @@
+
+ SetHandler once-upload-handler
+ Action once-upload-handler /once-handler/upload.pl virtual
+
+
+
+ AllowOverride AuthConfig Limit Options
+ AddHandler cgi-script .pl
+
+
+
+ SetHandler once-download-handler
+ Action once-download-handler /once-handler/download.pl virtual
+
diff -r 55ec9b096bc8 -r 106c6ee5ae32 d/dot.htaccess
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/d/dot.htaccess Fri Nov 20 17:53:15 2015 +0100
@@ -0,0 +1,6 @@
+# needs AllowOverride AuthConfig Options
+Options None Indexes ExecCGI FollowSymlinks
+
+ Order allow,deny
+ allow from 127.0.0.1
+
diff -r 55ec9b096bc8 -r 106c6ee5ae32 dot.htaccess
--- a/dot.htaccess Mon Dec 08 11:47:52 2014 +0100
+++ b/dot.htaccess Fri Nov 20 17:53:15 2015 +0100
@@ -1,8 +1,17 @@
# needs AllowOverride AuthConfig Options
-Options -Indexes
-
- AuthType Basic
- AuthName upload
- Require valid-user
- AuthUserFile
+Options None Indexes ExecCGI FollowSymlinks
+
+ Order deny,allow
+ deny from all
+ satisfy all
+
+ AuthType Basic
+ AuthName upload
+ Require valid-user
+ AuthUserFile /htpasswd
+ Order allow,deny
+
+
+ Order allow,deny
+
diff -r 55ec9b096bc8 -r 106c6ee5ae32 download.pl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/download.pl Fri Nov 20 17:53:15 2015 +0100
@@ -0,0 +1,1 @@
+upload.pl
\ No newline at end of file
diff -r 55ec9b096bc8 -r 106c6ee5ae32 upload.pl