Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Redirecting to page page...

 
Thread Tools Search this Thread
Old 02-10-2005, 12:34 AM   #1
Default Redirecting to page page...


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




digime
  Reply With Quote
Old 02-10-2005, 01:37 AM   #2
Roy Schestowitz
 
Posts: n/a
Default Re: Redirecting to page page...

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
  Reply With Quote
Old 02-10-2005, 06:24 PM   #3
digime
 
Posts: n/a
Default Re: Redirecting to page page...

yes thanx .. but it must be something that I must write in .htaccess file...

I dont know what is.. I'v tryed to put standard redicrect commands but
thats cause an Internal Server Error...

....





"Roy Schestowitz" <> wrote in message
news:cuedsb$2g1$...
> 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



  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump