Link to home
Start Free TrialLog in
Avatar of ccreel
ccreel

asked on

Redirect when logon fails!!

Using .htaccess how can I redirect to a url if the logon attempt fails?
Avatar of jack_p50
jack_p50

to redirect do           //15 is num of seconds before redirecting
<meta http-equiv="Refresh" content="15;URL=oblom.com/logonfailed.html">
Avatar of ccreel

ASKER

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
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>
ASKER CERTIFIED SOLUTION
Avatar of russo
russo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
what answer did russo provide to get the points?