lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx, relative links, and the HTTP redirections


From: Klaus Weide
Subject: Re: lynx-dev Lynx, relative links, and the HTTP redirections
Date: Thu, 14 Jan 1999 03:52:45 -0600 (CST)

On Wed, 13 Jan 1999, Stephane Bortzmeyer wrote:

> I'm using Apache's "error documents". I have in the srm.conf:
>  
> ErrorDocument 403 /redirects/forbidden.html
> 
> And the forbidden.html contains, among others:
> 
> <A HREF="../search/">
> 
> The browser Lynx 2.8 computes the target with the old document, the one which 
> was forbidden, and which is not at the same level... So the user who tries to 
> select links in the ErrorDocument gets a new 403 or a 404.
> 
> You can check it yourself by looking at:
> 
> http://www.pasteur.fr/local/infos/FAQ.html
> 
> (document for local use only)
> 
> There is no problem with Netscape 4, which computes the relative links in 
> respect with the redirected document.

That is impossible, if you send exactly the same content to Netscape as
you send to Lynx, i.e. without additional Content-Location headers or
similar.  Your "redirection" is a matter completely internal to the
server, the HTTP client has no way of knowing about the real location of
the ErrrorDocument.  Or, in other words, this is no HTTP redirection, your
subject is misleading.

So Lynx has one and only one URL on which it can base resolution of
relative URLs: the Request-URL.  I cannot see how any client could act
differently in this situation.

    Klaus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]