File specific .htaccess authentication [SOLVED]
Posted: Mon May 16, 2005 10:13 am
Hi all,
I've got a directory on my server that is protected using an .htaccess file. It's just been requested of me, that I make a specific file in that directory also accessible using a second password. This second password is supposed to allow a user to access the reporting page, and nothing else.
Does anyone have any idea how to do this? Below is the current .htaccess file contents:
Thanks!
I've got a directory on my server that is protected using an .htaccess file. It's just been requested of me, that I make a specific file in that directory also accessible using a second password. This second password is supposed to allow a user to access the reporting page, and nothing else.
Does anyone have any idea how to do this? Below is the current .htaccess file contents:
Code: Select all
AuthName "e;Authentication required for the IL webapp"e;
AuthType "e;Basic"e;
AuthUserFILE /path/to/password/file/.htpassword
Require valid-user