I have created some rules for Apache and tested them in the .htaccess file and they have worked just fine. I copy them over to the main htconf file and put them inside the correct virtual host like I have done before but these rules aren't being applied.
There are several ways to protect a directory from URL access but most of these will also block your website from being able to access them. Heres what you do to protect a directory from being accessed by a URL but still let your website access the contents of the directory. Open the directory you…