Hello,
in my website sub directory i want to disalow executing, opening of a few file types for security reasons:
example i use in .htaccess:
<Files *.php>
Deny from All
</Files>
and i want to disallow executing .html, .js, .phtml, .php4 .php3, .php5, .phps
im not sure if its necessary, but .php and js. i think important. but how the rule should look like?
must i create
<Files *.php>
Deny from All
</Files>
<Files *.js>
Deny from All
</Files>
or is there any better consolidated code?