I have figure out how to p/w protect a subfolder on my web server with .htaccess, .htpasswd, and .htgroup. my problem is when i try to move them to the root of my domain i can not figure out what the
line should read in .htaccess
i tried index, i tried the name of my domain, and i tried the path of my domain on my web server. none of those options worked.
In the subdirectory i just call it the name of the directory but with a capital first letter and that worked great. how do i set it for the entire domain?