From: Matteo Nastasi (mop) Date: Sat, 22 Nov 2008 13:26:45 +0000 (+0000) Subject: .htaccess added X-Git-Tag: 3.0.1~47 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=a16866179477828d105e48e3dc4712a3be0a4e51;p=brisk-img.git .htaccess added --- diff --git a/INSTALL.sh b/INSTALL.sh index 580536f..77aad60 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -43,7 +43,7 @@ function get_param () { # if [ "$1" = "-p" -o "$1" = "--package" ]; then cd .. - tar zcvf brisk-img.tgz `find brisk-img -name INSTALL.sh -o -name '*.png' -o -name '*.jpg' -o -name '*.gif' | grep -v '/src_'` + tar zcvf brisk-img.tgz `find brisk-img -name INSTALL.sh -o -name '*.png' -o -name '*.jpg' -o -name '*.gif' -o -name '.htaccess' | grep -v '/src_'` cd - exit 0 fi @@ -73,7 +73,7 @@ echo " n_players: $n_players" for i in `find -type d -name 'img'`; do ii="`echo "$i" | cut -c 3- `" install -d ${web_path}/$ii - install -m 644 `find $ii -name INSTALL.sh -o -name '*.png' -o -name '*.jpg' -o -name '*.gif' | grep -v '/src_'` ${web_path}/$ii + install -m 644 `find $ii -name INSTALL.sh -o -name '*.png' -o -name '*.jpg' -o -name '*.gif' -o -name '.htaccess' | grep -v '/src_'` ${web_path}/$ii done diff --git a/briskin5/img/.htaccess b/briskin5/img/.htaccess new file mode 100644 index 0000000..481dad6 --- /dev/null +++ b/briskin5/img/.htaccess @@ -0,0 +1,3 @@ +Order Deny,Allow +Deny from All + diff --git a/img/.htaccess b/img/.htaccess new file mode 100644 index 0000000..481dad6 --- /dev/null +++ b/img/.htaccess @@ -0,0 +1,3 @@ +Order Deny,Allow +Deny from All +