I have a problem with security setup for xampp.
I have set up a password for both, xampp pages and phpMyAdmin (statuses are all green under localhost/security/index.php).
When I try to connect to phpMyAdmin, everything is ok, it asks me for username and password. The problem occurs when I access localhost/xampp.
It connects without any authentication.
I tried clearing all history/cookies/cache in the browser and restarted apache and mySQL modules.
I have checked in C:/xampp/htdocs/xampp for the .htaccess file. It is there and it contains:
AuthName "xampp user"
AuthType Basic
AuthUserFile "C:\xampp\security\xampp.users"
Require valid-user
Authentication type is set to 'cookie'.
So what I'm trying to do is:
- limit access to localhost/xampp site, so only authorized users can see it
- if possible ask for username/password every time I try to access the site or access security page
What am I missing here?
*I also tried creating another .htaccess file in "C:/xampp/htdocs" just to see what happens. It still accesses localhost/xampp without asking for username/password, but it does ask when I try to access localhost/mantis (is in "C:/xampp/htdocs/mantis" )