I'm not sure where to ask this, if this is the wrong place let me know.
I have password protect a dir on my website(the admin dir) but when I put the user and password in it takes me into that dir. Is there anyway i can make it open a specific file from that dir(admin.php)
my htaccess file
AuthType Basic AuthName "Admin Login" AuthUserFile C:/wamp/www/diamondback/admin/.htpasswd require valid-user
my htpasswd file
Thanks for looking...............