I have a folder in my htdocs
folder ChemLabDB
and inside the directory I have my HTML files that the user can browser from their browsers. When the user put the path to the directory, the browser displays all the files. I put the .htaccess
and .htpasswd
file in the directory. Now everytime I visit the website, I get a enter password prompt.
My Directory:
My .htaccess
file:
AuthType Basic
AuthName "Not Available to Users"
AuthUserfile "../htdocs/ChemLabDB/.htpasswd"
Require valid-user
What do I modify so the user can browse without having to enter authentication credentials. The only time a user is REQUIRED (for security) to enter is when they try to browse the directory?