Solved

Redirect when logon fails!!

Posted on 1998-12-10
5
224 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Hello
0
 

Expert Comment

by:bs316
Comment Utility
what answer did russo provide to get the points?


0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

763 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

16 Experts available now in Live!

Get 1:1 Help Now