What is curl i've never seen/heard of it before ? 

Andrew


-----Original Message-----
From: Aaron Bannert [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 October 2002 2:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Mirror Update time


On Fri, Oct 25, 2002 at 02:11:47PM +1000, Andrew Kenna wrote:
> That would be unreal, but I guess the question is could that be done without 
> opening up any holes in apache's source code ? 

How do you mean? I'm just thinking something like this:

for i in `cat mirror.hosts` ; do
  ver=`curl -si http://$i/ | grep ^Server: | sed -e 's/^Server: //'`
  echo $i: $ver
done

I just don't have that list of hosts.

-aaron

Reply via email to