.htaccess password ... with redirect on failed login
Is it possible to have a .htaccess login that redirects to a particular page on a failed login?
| SitePoint Sponsor |


.htaccess password ... with redirect on failed login
Is it possible to have a .htaccess login that redirects to a particular page on a failed login?


Specify a custom error page:
http://en.wikipedia.org/wiki/Custom_...he_HTTP_Server
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.

Dan,
That's for http requests. What adam is talking about is an error page for mod_auth.
adam,
I looked around at apache.org for mod_auth and found nothing about any redirection on failure to authenticate. Maybe you can find it there.
I'm sure LinhGB will be around to tell me I've overlooked something simple again () but he's the SysAdmin and really knows this stuff!
Regards,
DK
David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
Client and (unpaid) WHB Ambassador
Updated mod_rewrite Tutorial Article (setup, config, test & write
mod_rewrite regex w/sample code) and Code Generator


Set the ErrorDocument for the authorization failed code to the page he wants to show.. isn't that what he asked for?
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.
Bookmarks