• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

Redirect when logon fails!!

Using .htaccess how can I redirect to a url if the logon attempt fails?
0
ccreel
Asked:
ccreel
1 Solution
 
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
 
russoCommented:
Hello
0
 
bs316Commented:
what answer did russo provide to get the points?


0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now