On Sat, 3 Feb 1996, Fred Hirsch wrote:

> A foolproof way to check your midgard version is to check the apache 
> error log after your restart, you should see something like:
> 
> [Thu Feb  3 18:23:39 2000] [notice] Apache/1.3.9 (Unix)  (NetRevolution
> Advanced Server/Linux-Mandrake) PHP/3.0.13+Midgard/1.2.6 Midgard/1.2.6
> configured -- resuming normal operations

You can get the same information from a running server by telnetting 
to it:

> telnet yourserver.com 80
HEAD / HTTP/1.0

(the extra blank line is needed for a lot of servers).

My server responds with:

HTTP/1.1 401 Authorization Required
Date: Thu, 03 Feb 2000 23:34:46 GMT
Server: Apache/1.3.6 (Unix)  (Red Hat/Linux) Midgard/1.2.5-5 PHP/3.0.12+Midgard/
1.2.5-8
WWW-Authenticate: Basic realm="Midgard"
Connection: close
Content-Type: text/html

Which tells me what I want to know.

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to