You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by John Summerfield <su...@OS2.ami.com.au> on 2000/08/02 02:01:40 UTC

Re: redirects

> 
> I wasn't too clear/specific...
> 
> I make a request to:
> 
> /apps
> 
> I get a redirect to:
> 
> http://host/apps/index.jsp

You should request /apps/, and any links you create should be to /apps/.


Linking to /apps is sloppy; the webserver always responds with a redirect and 
so wastes time and bandwidth.



> 
> when what I really want is:
> 
> /apps/index.jsp
> 
> (I don't want the protocol/host portion of the URL).

I've never seen a browser hide the protocol or host.