Basic auth realm always promting auth even the password is correct

#1
Hi,
Im trying to implement basic auth (http auth) on my wordpress (URL/wp-login.php) and it was done

1626428449492.png

but the problem is when im try to access the page its always promting request the access event its was correct

1626428557069.png
Happy if anyone here have clue how to fix it
Thanks.
 

Cold-Egg

Administrator
#4
Looks fine to me, and there should has no permission issue if you created the file by the web admin.
I just tried $SERVER_ROOT/conf/vhosts/$VH_NAME/htpasswd and it works for me, could you try to test it without the group?
 
#5
Looks fine to me, and there should has no permission issue if you created the file by the web admin.
I just tried $SERVER_ROOT/conf/vhosts/$VH_NAME/htpasswd and it works for me, could you try to test it without the group?
yes its done, do you think its possible because get data ??? i restricted this wp-login.php file but when accesed the url is wp-login.php?redirect_to=http%3A%2F%2FXXX.XXX.XXX.XXX%2Fwp-admin%2F&reauth=1
 
Top