Problem with httpd 2.13

W.vanLeeuwen@nikhef.nl (Willem van Leeuwen)
Message-id: <9311100925.KA22388@nikhefh.nikhef.nl>
Date: Wed, 10 Nov 1993 10:25:43 +0100
From: W.vanLeeuwen@nikhef.nl (Willem van Leeuwen)
Organisation: Nikhef-H (National Institute for Nuclear and High-Energy Physics)
Address: Kruislaan 409, P.O. Box 41882, 1009 DB Amsterdam, the Netherlands
Phone: +31 20 5925013, +31 2995 2499 (home)
Telex: 10262 hef nl
Telefax: +31 20 5925155
To: www-talk@nxoc01.cern.ch
Subject: Problem with httpd 2.13
On Nov 4 luotonen@ptsun00.cern.ch (Ari Luotonen wrote:

| CERN-httpd 2.13 and libwww 2.13 released.
| 
|         *****************************************************
|         **                                                 **
|         **          Everybody using CERN-httpd:            **
|         **                                                 **
|         **             IT IS TIME TO UPGRADE!              **
|         **                                                 **
|         *****************************************************
| 

I therefore installed the latest versions of the linemode browser and
the daemon from the following files:
	WWWDaemon_2.13.tar
	WWWLibrary_2.13.tar
	WWWLineMode_2.12.tar

I installed the daemon on a test machine: nic.nikhef.nl.

The following script demonstrates what happens.
The old and new linemode browser can access a html file via httpd when
the old server is used, not when the new server is used.
In that case I get Error 500.

Script started on Tue Nov  9 14:00:24 1993
warning: could not update utmp entry
[nic] #[23] a
=========================================================================
old browser old daemon
=========================================================================
HTBrowse: default_default is file://nic/sd3/user/a03/bin/default.html, Initial page is http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
New anchor 245b8 has hash 48 and address `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html'
HTAccess: loading document http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
HTTPAccess: Direct access for http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
TCP: Parsed address as port 80, IP address 192.16.199.49
HTTP connected, socket 4
HTTP writing command `GET /user/a03/www/default/NikhefGuide.html
' to socket 4
SGML: Start <DOCUMENT>
Unknown tag header
SGML: Start <TITLE>
SGML: End   </TITLE>
Unknown end tag </header>
Unknown tag body
SGML: Start <H1>
HTML: Change to style Heading1

SGML: End   </H1>
SGML: Start <P>
HTML: Change to style Normal
FORMAT IS `%79.79s%s
'
                                                             NIKHEF Information
                               WELCOME TO NIKHEF

SGML: Start <P>
   The NIKHEF WWW server has been moved from nic.nikhef.nl to www.nikhef.nl.

SGML: Start <A>
new Anchor 258f8 named `' is child of 245b8
New anchor 25b70 has hash 32 and address `http://nikhefh.nikhef.nl/www/pub/default/NikhefGuide.html'
Linking anchor 258f8 to anchor 25b70
SGML: End   </A>
SGML: Start <P>
   Click here [1] to access the NIKHEF information on the new server.

SGML: Start <P>
   Please change the NIKHEF address into

SGML: Start <P>
   http://www.nikhef.nl/www/pub/default/NikhefGuide.html

SGML: Start <ADDRESS>
SGML: Start <A>
new Anchor 25cc8 named `' is child of 245b8
New anchor 25c38 has hash 52 and address `http://nikhefh.nikhef.nl/www/pub/default/Phone.html?leeuwen'
Linking anchor 25cc8 to anchor 25c38
HTML: Change to style Address
SGML: End   </A>
SGML: End   </ADDRESS>
Unknown end tag </body>
SGML: End   </DOCUMENT>
HTML: Change to style Normal
                                                        webmaster@nikhef.nl [2]


     [End]







HTTP: close socket 4.
HTAccess: `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html' has been accessed.
1-2, Quit, or Help: h


WWW LineMode Browser version 1.4 (WWWLib 1.1a)   COMMANDS AVAILABLE

You are reading
 "NIKHEF Information"
whose address is
  http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html

  List            List the references from this document.
  <number>        Select a referenced document by number (from 1 to 2).
  Go address      Go to document of given [relative] address
  PRInt           Print text of this document. *
  ! command       Execute shell command without leaving.
  > file          Save the text of this document in a file. *
  >> file         Append the text of this document to a file. *
  | command       Pipe this document to a shell command. *
  CD directory    Change local working directory.
* Prefix these commands with "Source " to use raw source.

  Verbose         Switch to non-verbose mode.
  Help            Display this page.
  Manual          Jump to the online manual for this program
  Quit            Leave the www program.

1-2, Quit, or Help: q
=========================================================================
new browser old daemon
=========================================================================

 Calling new version of www

New anchor 63a28 has hash 48 and address `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html'
HTAccess: loading document http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
HTTPAccess: Direct access for http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
TCP: Parsed address as port 80, IP address 192.16.199.49
Composing Authorization for nic.nikhef.nl:80/user/a03/www/default/NikhefGuide.html
HTAASetup_lookup: No template matched `user/a03/www/default/NikhefGuide.html' (so probably not protected)
HTTP: Not sending authorization (yet)
HTTP connected, socket 4
HTTP Tx: GET /user/a03/www/default/NikhefGuide.html HTTP/1.0
Accept: www/source q=0.300
Accept: www/unknown q=0.300
Accept: application/octet-stream q=0.100
Accept: text/plain
Accept: text/html
Accept: image/jpeg
Accept: image/x-tiff
Accept: image/gif
Accept: application/postscript
User-Agent:  CERN-LineMode/2.12  libwww/2.13


HTTP: read returned 50 bytes.
HTTP: Rx: Document address invalid or access not authorised
HTTP: close socket 4 to retry with HTTP0
Composing Authorization for nic.nikhef.nl:80/user/a03/www/default/NikhefGuide.html
HTAASetup_lookup: No template matched `user/a03/www/default/NikhefGuide.html' (so probably not protected)
HTTP: Not sending authorization (yet)
HTTP connected, socket 4
HTTP Tx: GET /user/a03/www/default/NikhefGuide.html


HTTP: read returned 533 bytes.
HTTP: Rx: <header>
HTFormat: Constructing stream stack for text/html to www/present
SGML: *** Unknown element header
SGML: Start <TITLE>
SGML: End   </TITLE>
Unknown end tag </header>
SGML: Start <BODY>
SGML: Start <H1>
HTML: Change to style Heading1
SGML: End   </H1>
SGML: Start <P>
HTML: Change to style Normal
                                                             NIKHEF Information
                               WELCOME TO NIKHEF

SGML: Start <P>
   The NIKHEF WWW server has been moved from nic.nikhef.nl to www.nikhef.nl.

SGML: Start <A>
new Anchor 659c8 named `' is child of 63a28
New anchor 61d60 has hash 32 and address `http://nikhefh.nikhef.nl/www/pub/default/NikhefGuide.html'
Linking anchor 659c8 to anchor 61d60
SGML: End   </A>
SGML: Start <P>
   Click here [1] to access the NIKHEF information on the new server.

SGML: Start <P>
   Please change the NIKHEF address into

SGML: Start <P>
   http://www.nikhef.nl/www/pub/default/NikhefGuide.html

SGML: Start <ADDRESS>
SGML: Start <A>
new Anchor 61ee8 named `' is child of 63a28
New anchor 61a20 has hash 52 and address `http://nikhefh.nikhef.nl/www/pub/default/Phone.html?leeuwen'
Linking anchor 61ee8 to anchor 61a20
HTML: Change to style Address
SGML: End   </A>
SGML: End   </ADDRESS>
SGML: End   </BODY>
HTML: Change to style Normal
                                                        webmaster@nikhef.nl [2]


     [End]








HTTP: close socket 4.
HTAccess: `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html' has been accessed.
1-2, Up, Quit, or Help: h


WWW LineMode Browser version 2.12 (WWWLib 2.13)   COMMANDS AVAILABLE

You are reading
 "NIKHEF Information"
whose address is
  http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html

  Top             Return to the first page of the document.
  Up              Move up one page within the document
  List            List the references from this document.
  <number>        Select a referenced document by number (from 1 to 2).
  Go address      Go to document of given [relative] address
  PRInt           Print text of this document. *
  ! command       Execute shell command without leaving.
  > file          Save the text of this document in a file. *
  >> file         Append the text of this document to a file. *
  | command       Pipe this document to a shell command. *
  CD directory    Change local working directory.
* Prefix these commands with "Source " to use raw source.

  Verbose         Switch to non-verbose mode.
  Help            Display this page.
  Manual          Jump to the online manual for this program
  Quit            Leave the www program.

1-2, Up, Quit, or Help: q
=========================================================================
old browser new daemon
=========================================================================
HTBrowse: default_default is file://nic/sd3/user/a03/bin/default.html, Initial page is http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
New anchor 245b8 has hash 48 and address `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html'
HTAccess: loading document http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
HTTPAccess: Direct access for http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
TCP: Parsed address as port 80, IP address 192.16.199.49
HTTP connected, socket 4
HTTP writing command `GET /user/a03/www/default/NikhefGuide.html
' to socket 4
SGML: Start <DOCUMENT>
Unknown tag BODY
SGML: Start <H1>
HTML: Change to style Heading1

SGML: End   </H1>
HTML: Change to style Normal
                                   ERROR 500

Unknown end tag </BODY>
SGML: End   </DOCUMENT>
   Unable to access document.
     [End]


















HTTP: close socket 4.
HTAccess: `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html' has been accessed.

=========================================================================
new browser new daemon
=========================================================================

 Calling new version of www

New anchor 63a28 has hash 48 and address `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html'
HTAccess: loading document http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
HTTPAccess: Direct access for http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html
TCP: Parsed address as port 80, IP address 192.16.199.49
Composing Authorization for nic.nikhef.nl:80/user/a03/www/default/NikhefGuide.html
HTAASetup_lookup: No template matched `user/a03/www/default/NikhefGuide.html' (so probably not protected)
HTTP: Not sending authorization (yet)
HTTP connected, socket 4
HTTP Tx: GET /user/a03/www/default/NikhefGuide.html HTTP/1.0
Accept: www/source q=0.300
Accept: www/unknown q=0.300
Accept: application/octet-stream q=0.100
Accept: text/plain
Accept: text/html
Accept: image/jpeg
Accept: image/x-tiff
Accept: image/gif
Accept: application/postscript
User-Agent:  CERN-LineMode/2.12  libwww/2.13

HTTP: read returned 152 bytes.
HTTP: Rx: HTTP/1.0 500 Unable to access document.
WWW Alert:  HTTP server at nic.nikhef.nl replies:
HTTP/1.0 500 Unable to access document.
HTTP: close socket 4.
HTAccess: Can't access `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html'
WWW Alert:  Unable to access document.

WWW: Can't access `http://nic.nikhef.nl/user/a03/www/default/NikhefGuide.html'
[nic] #[24] exit
script done on Tue Nov  9 14:00:45 1993

I probably do something terribly wrong, any suggestion is welcome.

Willem van Leeuwen