Solved

Redirect when logon fails!!

Posted on 1998-12-10
5
230 Views
Last Modified: 2013-12-25
Using .htaccess how can I redirect to a url if the logon attempt fails?
0
Comment
Question by:ccreel
5 Comments
 
LVL 4

Expert Comment

by:jack_p50
ID: 1857055
to redirect do           //15 is num of seconds before redirecting
<meta http-equiv="Refresh" content="15;URL=oblom.com/logonfailed.html">
0
 

Author Comment

by:ccreel
ID: 1857056
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
 

Expert Comment

by:bs316
ID: 1857057
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
 

Accepted Solution

by:
russo earned 20 total points
ID: 1857058
Hello
0
 

Expert Comment

by:bs316
ID: 1857059
what answer did russo provide to get the points?


0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WCAG (Web Content Accessibility Guidelines) levels 3 66
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 71
Menu Inconsistent 3 32
Animated .jpg? 13 59
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now