You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carlos <li...@lpis.com> on 2001/03/01 16:54:48 UTC

ask a don't exists page and show other

i have my pages from asp to jsp
the problem is that there are users that asks asp pages.
there is any way for make this:
if my browser asks a *.asp page forward (show) the index.jsp page?
how?
thanks
Carlos


Re: ask a don't exists page and show other

Posted by Carlos <li...@lpis.com>.
where i must put that?
thanks
----- Original Message ----- 
From: "David Crooke" <da...@convio.com>
To: <to...@jakarta.apache.org>
Sent: Friday, March 02, 2001 5:54 AM
Subject: Re: ask a don't exists page and show other


> RedirectMatch 301 (.*)\.asp$ $1.jsp
> 
> Carlos wrote:
> 
> > i have my pages from asp to jsp
> > the problem is that there are users that asks asp pages.
> > there is any way for make this:
> > if my browser asks a *.asp page forward (show) the index.jsp page?
> > how?
> > thanks
> > Carlos
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> 


Re: ask a don't exists page and show other

Posted by David Crooke <da...@convio.com>.
RedirectMatch 301 (.*)\.asp$ $1.jsp

Carlos wrote:

> i have my pages from asp to jsp
> the problem is that there are users that asks asp pages.
> there is any way for make this:
> if my browser asks a *.asp page forward (show) the index.jsp page?
> how?
> thanks
> Carlos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


Re: ask a don't exists page and show other

Posted by "Brett W. McCoy" <bm...@chapelperilous.net>.
On Thu, 1 Mar 2001, Carlos wrote:

> i have my pages from asp to jsp
> the problem is that there are users that asks asp pages.
> there is any way for make this:
> if my browser asks a *.asp page forward (show) the index.jsp page?

You'd have to have a redirection in your ASP page to the new JSP file.

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
It is your concern when your neighbor's wall is on fire.
		-- Quintus Horatius Flaccus (Horace)