Make Apache2.4 send a 403 when incorrect login details are entered instead of the browser asking again

by TollyThaWally   Last Updated October 19, 2019 14:00 PM

I'm using .htaccess to password protect a file on my webserver. If incorrect login details are entered then the browser just shows the login box again. How can I make the browser send a 403 Forbidden instead?



Related Questions


Updated April 04, 2016 10:00 AM

Updated December 01, 2017 13:00 PM

Updated June 25, 2017 19:00 PM

Updated October 12, 2017 15:00 PM

Updated May 14, 2015 00:00 AM