From:	SMTP%"VMSGopher-L@trln.lib.unc.edu" 23-JUL-1994 14:52:04.14
To:	EVERHART
CC:	
Subj:	Re: DECthreads HTTP server, version 1.5

X-ListName: Gopher for VMS implementation and testing
    <VMSGopher-L@trln.lib.unc.edu>
Warnings-To: <>
Errors-To: owner-vmsgopher-l@trln.lib.unc.edu
Sender: owner-vmsgopher-l@trln.lib.unc.edu
Date: Sat, 23 Jul 1994 14:25:45 -0400 (EDT)
From: Foteos Macrides <MACRIDES@SCI.WFEB.EDU>
Reply-To: VMSGopher-L@trln.lib.unc.edu
Subject: Re: DECthreads HTTP server, version 1.5
To: VMSGopher-L@trln.lib.unc.edu
CC: VMS-WEB-daemon@WKUVX1.WKU.EDU
Message-ID: <01HF1RK2FQBM0014L4@SCI.WFEB.EDU>
X-VMS-To: IN%"VMSGopher-L@trln.lib.unc.edu"
X-VMS-Cc: IN%"VMS-WEB-daemon@WKUVX1.WKU.EDU",MACRIDES
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

JONESD@kcgl1.eng.ohio-state.edu (David Jones) wrote:
>I've accumulated enough changes to the DECthreads HTTP server to
>warrant an official 1.5 release.  [...]
 
	I just built the v1.5 server.  Here's some initial feedback.
 
 
	(1) A continuation line symbol is missing in HTTP_SERVER.COM:
 
************
File [DECTHREAD]HTTP_SERVER.COM;1
  155   $	if f$trnlnm("MULTINET") .nes. "" .or. -
  156   	   .not. f$getdvi("UCX$DEVICE","EXISTS") then [...]
******
File [DECTHREAD]HTTP_SERVER.COM_ORI;1
  155   $	if f$trnlnm("MULTINET") .nes. "" .or. 
  156   	   .not. f$getdvi("UCX$DEVICE","EXISTS") then [...]
************
 
 
	(2) There's no command file (as opposed to MMS) code for building
GETSTATS.  Here's a quickie MAKEGETSTATS.COM for MULTINET:
 
$on error then goto end
$set ver
$ CC /NOLIST/OBJECT=FORM_REQUEST.OBJ form_request.c
$ CC /DEFINE=MULTINET/NOLIST/OBJECT=GETSTATS.OBJ getstats.c
$ LINK /TRACE/NOMAP/EXEC=[.BIN]GETSTATS.EXE -
	getstats.obj, form_request.obj, cgilib.obj, scriptlib.obj,-
	GETSTATS_TCP_MULTINET.OPT/OPT
$end:
$set nover
 
 
	(3) The command file build of the server uses /TRACE instead of
/NOTRACE which prevents it from being installed with privileges (at least on
our old version of VMS 8-).
 
 
	(4) STATFORM.HTML is calling the executable directly, instead of the
command file interface, so the parameters aren't passed and it fails to find
the log file:
 
************
File [DECTHREAD.DOCUMENTS]STATFORM.HTML;1
    7   <form method="POST" action="/htbin/getstats">
    8   Fill in the fields below and activate <input type="submit" value =
******
File [DECTHREAD.DOCUMENTS]STATFORM.HTML_ORI;1
    7   <form method="POST" action="/htbin/getstats.exe">
    8   Fill in the fields below and activate <input type="submit" value =
************
 
 
	(5) VMSHELPGATE.C doesn't have the fixes for ensuring proper
blank line inclusions in additional information and command qualifier
sections of all library modules.  If you encounter the problem in your
libraries, the VMSHELPGATE.C accessible via:
 
	http://sci.wfeb.edu/dir/300vms
 
has the fixes and works fine as is with the DECthread server.
 
 
	(6)  Add a map for the HELP gateway before the exec rule in the
configuration file, so users don't have to know and remember the full
path:
 
map /help* /htbin/helpgate/HELP*
exec /htbin/* www_root:[bin]
 
This enables URL's as in the original CERN standalone HELP gateway.
 
 
	(7)  The Common format ACCESS.LOG is nice, but that and its analyses
would be more useful for the kinds of purposes they're used, if the DNS were
invoked to get and show the clients' address names instead of their IP numbers
(as all other httpd's and gopherd's do).  I had hacked code for doing that
with MULTINET in an earlier version of the DECthread server, and can do it
again locally, but I suspect most users would prefer it in the distribution.
 
 
				Fote
 
=========================================================================
 Foteos Macrides           Worcester Foundation for Experimental Biology
 MACRIDES@SCI.WFEB.EDU     222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
