check for type of web server?

Derek Neighbors plug-discuss@lists.plug.phoenix.az.us
Wed, 20 Mar 2002 17:32:09 -0600 (CST)


An easy way...


lynx http://www.plug.phoenix.az.us -mime_header >foo.txt

subsituting the url for the server you wish to check...

if you then look at output of foo.txt


HTTP/1.1 200 OK
Date: Wed, 20 Mar 2002 23:30:42 GMT
Server: Apache/1.3.12 (Unix)  (Red Hat/Linux) PHP/4.1.2 mod_perl/1.21
Connection: close
Content-Type: text/html

is at the top...

-Derek
On Wed, 20 Mar 2002, Mike wrote:

> Does anyone have a script one could run to check
> and see what type of web server a host is running?
> 
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> 
> PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>