my .htacess is as below
Code: Select all
Options -Indexes
Options -ExecCGI
AddHandler cgi-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi
<Files ^(*.jpeg|*.jpg|*.png|*.gif)>
order deny,allow
deny from all
</Files>if i remove |*.gif, i am still able to load gif files in the browser.
and if i put a text file in the directory, i am also able to load the text file.
anyone guide me what went wrong??