Forum Moderators: phranque
I'm password protecting a folder on my server located at /protected/ .
Right now, I have a .htaccess file located in the folder that connects with a .htpasswd (located at a higher level) to protect that folder:
/protected/.htaccess
Right now my .htaccess has the following code:
-------
AuthUserFile /[location_of_password]/.htpasswd
AuthName "Login Required"
AuthType Basic
require valid-user
--------
I'm interested in moving my .htaccess file to a higher level, but I still want it to password protect just that folder and not my whole website.
Is this possible? Thanks.