I may need to modify our .htaccess file. Problem is I can’t find it. We have several subdomains along side each other in the vhosts directory, and each subdomain has an associated .htpasswd file. How can find where the .htaccess file is.
Obviously, I didn’t set this up and I’m certainly not known as an unix admin expert.
.(dot) files are hidden by default on Unix/Linux systems. Most likely, if you know they are.htaccessfiles, then they are probably in the root folder for the website.If you are using a command line (terminal) to access, then they will only show up if you use:
If you are using a GUI application, look for a setting to “show hidden files” or something similar.
If you still have no luck, and you are on a terminal, you can execute these commands to search the whole system (may take some time):
This will list out any files it finds with that name.