Added the "Options -Indexes" to the example htaccess
authorHeiko <hs@schlittermann.de>
Wed, 20 Oct 2010 07:21:56 +0200
changeset 6 a3447b510e13
parent 5 978827859b68
child 7 62de1ff671d7
Added the "Options -Indexes" to the example htaccess
.htaccess
upload.pl
--- a/.htaccess	Tue Oct 19 23:09:38 2010 +0200
+++ b/.htaccess	Wed Oct 20 07:21:56 2010 +0200
@@ -1,3 +1,4 @@
+Options -Indexes
 <Files upload.pl>
 	AuthType Basic
 	AuthName upload
--- a/upload.pl	Tue Oct 19 23:09:38 2010 +0200
+++ b/upload.pl	Wed Oct 20 07:21:56 2010 +0200
@@ -1,5 +1,6 @@
 #! /usr/bin/perl -T
 # Example .htaccess
+# | Options -Indexes
 # | <Files upload.pl>
 # | AuthType Basic
 # | AuthName upload
@@ -25,7 +26,7 @@
 use File::Basename;
 use Digest::SHA1 qw(sha1_hex);
 
-my $DIR      = "../d";
+my $DIR      = "d";
 my $DIR_URI = "/$DIR";
 
 -d $DIR