# HG changeset patch # User Heiko # Date 1287552116 -7200 # Node ID a3447b510e1390e3d2a71154ca7b4df002dce469 # Parent 978827859b683a482800073a13e5e91845a9f29e Added the "Options -Indexes" to the example htaccess diff -r 978827859b68 -r a3447b510e13 .htaccess --- 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 AuthType Basic AuthName upload diff -r 978827859b68 -r a3447b510e13 upload.pl --- 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 # | # | 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