I want to password protect a file in one of my virtual servers… I have followed the instructions in the documentation, but it isn't working properly. Can someone help me out here?
Even if old the instructions on this page still works fine to protect a directory, ie. not a specific file, so you could create a directory, for instance "secretfiles" under your public_html folder in the virtual servers folder, and add a .htaccess file as in instructions;
Hope it helps in some way