#include "_doctype.html" Setting Up a cURL Web Site Mirror #include "css.t" #define CURL_MIRRORWEB #include "_menu.html" #include "setup.t" #include "pic.t" WHERE2(Mirror Tools, "/mirror/", Setup Web Mirror ) TITLE(Setup a cURL Web Site Mirror)

We appreciate you helping us out by running a curl web site mirror. SUBTITLE(Hostname)

Setup a DNS entry that gives your mirror a unique host name for the curl web site, please use a name like "curl.[domain]" . The "/" directory need to be the front page. SUBTITLE(Tools)

Tools needed. Put them in a dir to include in PATH when you want to update the mirror

SUBTITLE(CVS)

Check out the 'www' module from the curl CVS repo:

  cvs -d :pserver:anonymous@cvs.curl.sourceforge.net:/cvsroot/curl login
  [press return]
  cvs -d :pserver:anonymous@cvs.curl.sourceforge.net:/cvsroot/curl co www

Within the web root, check out the source tree (many web pages are generated from source files):

  $ cvs -d :pserver:anonymous@cvs.curl.sourceforge.net:/cvsroot/curl co curl

Rename the curl directory to cvssource

  $ mv curl cvssource
SUBTITLE(Automaticly)

Automate everything:

  $ export PATH=${PATH}:/that/dir/with/the/tools
  $ cd $web-root-dir
  $ cvs -Q up -dP
  $ make
Put those three in a script and run the script as often as you feel like. The haxx.se and sourceforge.net mirrors run their scripts every 20 minutes. #include "_footer.html"