help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs 21 and w3 on Debian


From: Tim X
Subject: Re: Emacs 21 and w3 on Debian
Date: 23 May 2005 17:49:45 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Tim X <timx@spamto.devnul.com> writes:

> Thierry Emery <see.sig@spamfoil.invalid> writes:
> 
> > Tim X <timx@spamto.devnul.com> writes:
> > 
> > > It seems that
> > > there is a problem with relative links within w3 and I wanted to know
> > > if anyone else has seen this and possibly has a solution. 
> > 
> > I have never experienced such a problem ; do you have an example
> > that is accessible on internet ?
> 
> Well, it seems pretty much any page with a relative link which is not
> relative to the document root of the server. An example is
> 
> http://www.une.edu.au/itd/index.html
> 
> If you try to follow the "About ITD" link on that page, instead of
> getting 
> 
> http://www.une.edu.au/itd/about/index.html
>  
> I get
> 
> http://www.une.edu.au/about/index.html
> 
> which doesn't work (obviously). 
> 
> I will check the page for incorrect HTML - however, the above pages
> work with every other browser I've tried - w3m, firefox, opera, IE. 
> 

Some more information has come to light. If I attempt to go to the
page http://www.une.edu.au/itd/index.html and then follow a link in
that page to the "About ITD" it works fine. However, if I go to the
link http://www.une.edu.au/itd I get the page, but when I try to
follow relative links from that page, the link is made relative to the
document root rather than the page the link was followed from. 

So, it seems that what *may* be happening under Emacs/W3 is that it is
incorrectly removing the last element of the original url i.e. itd in
the above example, possibly mistakenly beleiving that is the last
element of the url (instead of recognizing it is the defualt
index.html) and then appending the relative link - resulting in the
wrong link. I will see if I can debug it further. 

Tim

-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!


reply via email to

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