Redirect when logon fails!!

Using .htaccess how can I redirect to a url if the logon attempt fails?
ccreelAsked:
Who is Participating?
 
russoConnect With a Mentor Commented:
Hello
0
 
jack_p50Commented:
to redirect do           //15 is num of seconds before redirecting
<meta http-equiv="Refresh" content="15;URL=oblom.com/logonfailed.html">
0
 
ccreelAuthor Commented:
Jack_p50,
This is how to redirect a page when someone loads it specificaly.  What I am looking for is a .htaccess  command that will protect all pages in the subdir.  This means that I would not have to put the refresh on every page.
Chris
0
 
bs316Commented:
if the below work for you post a message then i will post a blank message to collect your points so your question can still be unlock.
--------------------------------------

AuthName restricted stuff
AuthType Basic
AuthUserFile /otherdir/.htpasswd
require valid-user

<Limit GET POST>
order deny,allow
OnDeny http://www.yahoo.com/
</Limit>
0
 
bs316Commented:
what answer did russo provide to get the points?


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.