2
I am trying to block all files from a particular directory except for .js , .jpg , .css , .gif , .png.
I have this code, but it’s not working the way I want it to:
<Files ~ "\.(jpg|jpeg|png|gif|css|js)$">
order deny,allow
allow from all
</Files>
Someone could tell me where I’m going wrong ?
You’re wearing
.htaccess
in your project?– Guilherme Lautert