# HG changeset patch # User heiko # Date 1448038280 -3600 # Node ID 8211c7cdf8e00291629c6253dfbca9d653c1e933 # Parent 8742c4b2d5f16bf72ed2db3e52764a729744508b Add some example files diff -r 8742c4b2d5f1 -r 8211c7cdf8e0 .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Fri Nov 20 17:51:20 2015 +0100 @@ -0,0 +1,2 @@ +.htaccess +d/ diff -r 8742c4b2d5f1 -r 8211c7cdf8e0 apache.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apache.conf Fri Nov 20 17:51:20 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 8742c4b2d5f1 -r 8211c7cdf8e0 d/dot.htaccess --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/d/dot.htaccess Fri Nov 20 17:51:20 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 8742c4b2d5f1 -r 8211c7cdf8e0 dot.htaccess --- a/dot.htaccess Fri Nov 20 17:45:10 2015 +0100 +++ b/dot.htaccess Fri Nov 20 17:51:20 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 8742c4b2d5f1 -r 8211c7cdf8e0 download.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/download.pl Fri Nov 20 17:51:20 2015 +0100 @@ -0,0 +1,1 @@ +upload.pl \ No newline at end of file