I think that putting this at the top of the .htaccess file should prevent a listing of your directories and deny access to the contents of your .htaccess file. (Note that I am not a coding expert, but I researched this some time back and found this code on what seemed to be a competent .htaccess...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.