I have a module directory in my project and I want to prevent access to PHP files inside it. Besides I have some css and js files in that directory that should be parsed. I used this code in .htaccess
deny from all But it made my css and js files not accessible too. How can I prevent access to just PHP files, but not css and js files?