diff --git a/uploads/.htaccess b/uploads/.htaccess new file mode 100755 index 0000000..3d84673 --- /dev/null +++ b/uploads/.htaccess @@ -0,0 +1,25 @@ +# Htaccess for Protection +# Kleeja 2007 - 2010 +# $Id: .htaccess 1557 2010-08-08 10:09:50Z saanina $ + + + Order allow,deny + Deny from all + + +#Disable PHP engine in this folder + +php_flag engine off + + +#Disable PHP engine in this folder + +php_flag engine off + + +#Don't handle those types in this folder +RemoveType .php .php* .phtml .pl .cgi .asp .aspx .sql + +#404 error should show something usefull +#todo/ images->image info, another show our info page +ErrorDocument 404 ../images/not_exists.jpg diff --git a/uploads/thumbs/.htaccess b/uploads/thumbs/.htaccess new file mode 100755 index 0000000..6cde455 --- /dev/null +++ b/uploads/thumbs/.htaccess @@ -0,0 +1,11 @@ + + Order allow,deny + Deny from all + + +php_flag engine off + + +php_flag engine off + +RemoveType .php .php* .phtml .pl .cgi .asp .aspx .sql \ No newline at end of file