Return-Path: owner-new-httpd Received: by taz.hyperreal.com (8.6.10/8.6.5) id HAA20640; Thu, 16 Mar 1995 07:57:33 -0800 Received: from ooo.lanl.gov by taz.hyperreal.com (8.6.10/8.6.5) with SMTP id HAA20634; Thu, 16 Mar 1995 07:57:30 -0800 Received: by ooo.lanl.gov (1.38.193.4/16.2) id AA01311; Thu, 16 Mar 1995 08:57:19 -0700 From: Rob Hartill Message-Id: <9503161557.AA01311@ooo.lanl.gov> Subject: XBITHACK, META. Buy one, get one free To: new-httpd@hyperreal.com Date: Thu, 16 Mar 95 8:57:19 MST In-Reply-To: <9503160914.AA06715@www.elsevier.co.uk>; from "Andrew Wilson" at Mar 16, 95 9:14 am Organization: Theoretical Division, T-8. Los Alamos National Laboratory Address: LANL Theoretical Divi' T-8, MS B285, P.O Box 1663, Los Alamos NM 87545 Fax: (505) 667 5585 Phone: (505) 665-2280 or 667-5336 (T-8 Secretary) Mailer: Elm [revision: 70.85] Sender: owner-new-httpd@hyperreal.com Precedence: bulk Reply-To: new-httpd@hyperreal.com > > Hey people. I can see the general concensus is verging towards "XBITHACK is > not the way to tell the server to parse a .html file" and I concede that in > the middle to long term it would be a GOOD THING(tm) to remove this UNIXese > kludge in favour of something that is: > A solution to server-side includes should fall out of any work we do to implement processing of As a first thought on the matter, I'd suggest the following, Before starting to send a document, a (file block size e.g.) chunk of the start of the html should be scanned for , which is acted upon, before that data is parsed and/or sent, followed by the parsed and/or sent rest of the document. There must be a way to embed "server-side-includes" somewhere in the META tags. As well as a solution for the group XBITHACK e.g. or (*) The server would see these and would be able to switch on the relevant parsing routines, and the client would be able to see that the document had been generated using this method. (*) could be used to inform the server that it should examine the age of myinclude.txt and /elsewhere/footnote.html w.r.t the document's age to determine the true Last-modified time. Forcing all the META tags to appear in the first N bytes of a file would help reduce the impact of searching for them, and with examples such as (*), it could provide a means of specifying all the actions the server needs to perform for the document, so there would be no need to parse an entire document and/or preprocess any includes to determine their affect on HTTP headers. robh