Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Redirecting to page page...

  • Subject: Re: Redirecting to page page...
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Thu, 10 Feb 2005 01:37:04 +0000
  • Newsgroups: alt.html
  • References: <xZxOd.8980$F6.1689259@news.siol.net>
  • User-agent: KNode/0.7.2
digime wrote:

> Hi,
> 
> Can I redirect to any page on Authorisation Required 401 Error?
> 
> I put a password on my page with .htaccess and I want to redirect to
> anther page if the password entered is invalid...
> 
> is possible
> 
> thanx for any help

I never tried it, but under a Linux host, how about changing 401.shtml to
something like:

<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=./my_new_page.htm">
</HEAD>
<BODY BGCOLOR=EEEEEE>
<H1>Redirection</H1>
You should shortly be redirected to:<BR>
<B>Page X</B>
<P>If this does not happen, <a href="./my_new_page.htm">click here</a></P>
</BODY></HTML>

-- 
Roy Schestowitz
http://schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index