Date: Tue, 8 Dec 1998 19:14:37 +0100 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: Jim Turk <jim_turk@ix.netcom.com>, wosch@FreeBSD.ORG Cc: doc@FreeBSD.ORG Subject: Re: CGI scripts for FreeBSD documentation project Message-ID: <19981208191437.A8795@freno.cs.tu-berlin.de> In-Reply-To: <Pine.BSF.4.01.9812061328001.251-100000@localhost>; from Jim Turk on Sun, Dec 06, 1998 at 01:40:38PM -0700 References: <Pine.BSF.4.01.9812061328001.251-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-12-06 13:40:38 -0700, Jim Turk wrote: > I would like to contribute to the FreeBSD documentation project. Your > e-mail address is listed under the Current Projects web page. > > I have over fifteen years of software development experience with a number > of different languages, operating systems, frameworks, and databases. My > current work experience includes CGI scripts on the intranet to report > project status. > > Please get me up to speed on your projects and let me know what needs to be > done. Also, provide information about policies, procedures, etc. [cc: freebsd-doc] Thanks for your offer! I have a simple task on my TODO list: We need a script which check if our web mirrors are up to date and in sync with the main FreeBSD webserver www.freebsd.org The list of official web mirror site is available from the homepage http://www.freebsd.org http://www.freebsd.org/index.html <OPTION VALUE="http://www.au.freebsd.org/">Australia/1</OPTION> <OPTION VALUE="http://www2.au.freebsd.org/">Australia/2</OPTION> <OPTION VALUE="http://www3.au.freebsd.org/">Australia/3</OPTION> <OPTION VALUE="http://www.br.freebsd.org/www.freebsd.org/">Brazil/1</OPTION> <OPTION VALUE="http://www2.br.freebsd.org/www.freebsd.org/">Brazil/2</OPTION> <OPTION VALUE="http://www3.br.freebsd.org/">Brazil/3</OPTION> <OPTION VALUE="http://www.bg.freebsd.org">Bulgaria</OPTION> [...] Now you can do a HEAD request for every mirror and check if a) the server is up and running b) is up to date - field 'Last-Modified' c) the 'Content-Length' is correct $ lynx -dump -head http://www.freebsd.org/ HTTP/1.1 200 OK Date: Tue, 08 Dec 1998 17:55:26 GMT Server: Apache/1.3.x (Unix) Last-Modified: Fri, 04 Dec 1998 00:02:32 GMT ETag: "ac907-2c14-36672698" Accept-Ranges: bytes Content-Length: 11284 Connection: close Content-Type: text/html The FreeBSD homepage does not changed often. It should be possible to check other pages than the hompage too, e.g. http://www.freebsd.org/handbook/ http://www.freebsd.org/FAQ/ http://www.freebsd.org/ports/ http://www.freebsd.org/news/qnewsletter.html The result should be a short message, e.g. 44 Mirrors, 40 up, 4 down 35 mirrors up to date, 3 mirrors are older than 2 weeks [List of outdated mirrors ...] We have a similar script for FTP Servers, see http://www.itworks.com.au/~gavin/FBSDsites.php3 RELEASE/SNAP finder for FreeBSD FTP servers. A resource that would allow anyone to find a FTP server that contains particular releases and SNAP of FreeBSD. The database is updated daily at 3am Melbourne time (10 hours ahead of GMT). -- Wolfram Schneider <wosch@freebsd.org> http://freebsd.org/~w/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981208191437.A8795>