I have multiple folders on my website and one .htaccess in the root of the site. I want to deny access to some of them using htaccess. I found this post:
Deny access to one specific folder in .htaccess
Its solution is creating .htaccess file in target folder but I want to do this work using one .htaccess. I want to deny access to target folders using one .htaccess in the root of the site.
Is it possible?