www-mirrors mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Kenna" <andr...@stamina.com.au>
Subject RE: Mirror Update time
Date Fri, 25 Oct 2002 04:18:16 GMT
What is curl i've never seen/heard of it before ? 


-----Original Message-----
From: Aaron Bannert [mailto:aaron@clove.org]
Sent: Friday, 25 October 2002 2:13 PM
To: mirrors@apache.org
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

I just don't have that list of hosts.


View raw message