To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 603
602  |  604
Subject: 
Re: Problem with Web LUGNET
Newsgroups: 
lugnet.admin.general
Date: 
Mon, 9 Nov 1998 13:47:49 GMT
Viewed: 
4841 times
  
sparre@sys-323.risoe.dk (Jacob Sparre Andersen) writes:

> Todd Lehman (lehman@javanet.com) wrote:
> 
> > BTW, there's something amiss with <BASE HREF=..."> in Netscape.  If I set
> > 
> >    <BASE HREF="http://www.lugnet.com/news/display.cgi?">
> > 
> > and use <A HREF="lugnet.loc.foo.foo.foo">, that doesn't work.  :-(
> 
> I am quite sure it does work. The base URL should be stripped to the last
> separator ("/"), and the relative URL's in the document should be appended
> to the stripped version of the base URL. Your example should be processed as
> 
>    <A Href="http://www.lugnet.com/news/lugnet.loc.foo.foo.foo">
> 
> Play well,
> 
> Jacob

:) yes, I discovered that that "works."  But that's not what I wanted to
happen.  What I meant by "that doesn't work" is that I got

   http://www.lugnet.com/news/lugnet.loc.foo.foo.foo

as a URL when what I wanted was

   http://www.lugnet.com/news/display.cgi?lugnet.loc.foo.foo.foo

In other words, I wasn't expecting the base URL to be stripped back to the
last slash-separator.  I don't understand the reasons why they strip it back
to the last /, so it seems really odd and unhelpful to me.


> PS: It sounds like other browsers don't process the base element correctly?

That's what I thought at first, but as far as I know now, it was an HTML
coding mistake on my part and not a browser bug.

--Todd



Message is in Reply To:
  Re: Problem with Web LUGNET
 
(...) I am quite sure it does work. The base URL should be stripped to the last separator ("/"), and the relative URL's in the document should be appended to the stripped version of the base URL. Your example should be processed as <A Href="(URL) (...) (28 years ago, 9-Nov-98, to lugnet.admin.general)

6 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR