lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev www.habeus.com weird redirect


From: Al Gilman
Subject: Re: lynx-dev www.habeus.com weird redirect
Date: Thu, 28 Nov 2002 18:13:35 -0500

Bela,

I could not reproduce your experience.

Here's the bottom line after the redirects:

-- dump of information page showing properly formed link

            Lynx 2.8.4pre.5 (14 Jul 2001) ([1]pre-release version)

File that you are currently viewing

   Linkname: Welcome to Habeas
        URL: http://www.habeas.com/
    Charset: iso-8859-1
     Server: Apache/2.0.39 (Unix) mod_perl/1.99_03-dev Perl/v5.6.1
          PHP/4.2.2
       Date: Thu, 28 Nov 2002 22:59:47 GMT
   Last Mod: Wed, 27 Nov 2002 01:31:03 GMT
   Content-Length: 4059 bytes
   Owner(s): None
       size: 54 lines
       mode: normal

Link that you currently have selected

   Linkname: About Habeas
        URL: http://www.habeas.com/about/overview.htm

-- end information page

In the trace I find the following

-- trace fragment


getfile: getting http://www.habeas.com

HTParse: aName:`http://www.habeas.com'
   relatedName:`'
HTParse:      result:www.habeas.com
fix_httplike_urls: URL 'http://www.habeas.com'
            changed to 'http://www.habeas.com/'

-- end trace fragment

which clearly shows where what you are not getting is performed by my copy of the program.

Al

At 06:03 PM 2002-11-27, you wrote:
Noticed this with some 2.8.4 vintage Lynx, downloaded 2.8.5dev.9 and got
the same thing:

  $ lynx http://www.habeus.com/
  Using http://www.habeas.com
  [Current link is http://www.habeas.comabout/overview.htm]

I misspelled the name of their site -- I typed "habeus" where it should
have been "habeas".  They redirected to the correct site, but without a
trailing slash.  Lynx then based all of the relative URLs on that page
on the prefix "http://www.habeas.com";, sans trailing slash.

I'm sure the redirect was wrong, and should be fixed.  I'm not so sure
whether Lynx was doing something wrong here, or maybe just "not
sufficiently right".  A cross-check with Netscape (4.7, all I had handy)
shows that it takes the redirect in the right spirit.

The redirect looks like:

  HTTP/1.1 302 Found
  Date: Wed, 27 Nov 2002 22:48:09 GMT
  Server: Apache/1.3.12 (Unix) mod_perl/1.24
  Location: http://www.habeas.com
  Connection: close
  Content-Type: httpd/unix-directory

and would be perfect if there was a trailing "/" on the Location:
header.

>Bela<

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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