httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David Robinson)
Subject Re: one for the wish list
Date Thu, 02 Mar 1995 13:05:00 GMT
>On Wed, 1 Mar 95 13:46:31 MST Rob Hartill wrote:
>It'd be useful if a server could provide some information
>about the information provider, e.g. company name, contact
>address etc.
>This info usually appears in a document somewhere, but there's
>no current way to ask 'who are you' and get a reply.
>As a 1st suggestion, how about sending this info back as
>a response to a special case of HEAD e.g one with no URL, or
>a special URL such as 'info'
>HEAD info HTTP/1.0
>   |
>   V
>HTTP/1.0 200 OK
>Date: Wednesday, 01-Mar-95 20:37:32 GMT
>Server:  Apache/1.0
>MIME-version: 1.0
>Content-type: text/html
>Last-modified: Thursday, 09-Feb-95 18:46:44 GMT
>Organization: Los Alamos National Lab, T-8
>Snail-mail: PO BOX 1234, Los Alamos, NM 87544
>Server-hardware: HP 712/80
>Service-availability: free, no restrictions
>WWW-Admin-name: A. N. Other
>WWW-Admin-phone: (505) 555 1234

I think this could be done using meta tags in an info.html or info.shtml file;
<title>Server info</title>
<meta http-equiv="Organization" content="Los Alamos National Lab, T-8">
<meta http-equiv="Snail-mail" content="PO BOX 1234, Los Alamos, NM 87544">

You would need a convention for the URL which returns this information.
Strictly, this response would break the HTTP/1.0 spec, as the only
extension headers allowed are object headers, which describe the object body
(which would be sent for a corresponding GET request).


View raw message