From a16866179477828d105e48e3dc4712a3be0a4e51 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sat, 22 Nov 2008 13:26:45 +0000 Subject: [PATCH] .htaccess added --- INSTALL.sh | 4 ++-- briskin5/img/.htaccess | 3 +++ img/.htaccess | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 briskin5/img/.htaccess create mode 100644 img/.htaccess 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 + -- 2.17.1