From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 23 May 2005 17:49:45 +1000 Message-ID: <87k6lqbcva.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116836013 27803 80.91.229.2 (23 May 2005 08:13:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 08:13:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 10:13:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Da82Y-0007Yx-Al for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 10:11:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Da85x-00085e-PA for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 04:15:29 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116834585 59.167.21.36 (23 May 2005 17:19:45 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!uunet!bos.uu.net!dca.uu.net!snewsf0.syd.ops.aspac.uu.net!news1.optus.net.au!optus!news.mel.connect.com.au!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131461 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26917 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26917 Tim X writes: > Thierry Emery writes: > > > Tim X 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!