Hello,
I want to protect /var/www/html/PhpMyadmin did with password.
I have created .htaccess with:
AuthType Basic
AuthName "Protected Area"
AuthUserFile /var/www/html/pass/.htpasswd
Require valid-user
and with login/pass in htpasswd
It asks login/pass, accepts, then phpMyadmin asks database login/pass, after I entered it nothing happens, it shows endless page loading, when I rename htaccess and reload page - it opens logged in phpMyadmin. When I rename htaccess back and refresh page - it shows 500-error.
I want to protect /var/www/html/PhpMyadmin did with password.
I have created .htaccess with:
AuthType Basic
AuthName "Protected Area"
AuthUserFile /var/www/html/pass/.htpasswd
Require valid-user
and with login/pass in htpasswd
It asks login/pass, accepts, then phpMyadmin asks database login/pass, after I entered it nothing happens, it shows endless page loading, when I rename htaccess and reload page - it opens logged in phpMyadmin. When I rename htaccess back and refresh page - it shows 500-error.
Last edited: