I have an
ErrorDocument 401 /401.php
line in my .htaccess file in https-enabled document root. When a user enters a bad login or password, Apache gives me the default 401 message, then
Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request
which indicates that another 401 error was generated in trying to go to the custom error document itself, 401.php. Catch 22!
I know that the ErrorDocument 401 line works, because if I put
ErrorDocument 401 "You have entered an invalid login or password
it prints that to the screen.
Any suggestions?
ErrorDocument 401 /401.php
line in my .htaccess file in https-enabled document root. When a user enters a bad login or password, Apache gives me the default 401 message, then
Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request
which indicates that another 401 error was generated in trying to go to the custom error document itself, 401.php. Catch 22!
I know that the ErrorDocument 401 line works, because if I put
ErrorDocument 401 "You have entered an invalid login or password
it prints that to the screen.
Any suggestions?