#include "_doctype.html"
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
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 cvssourceSUBTITLE(Automaticly)
Automate everything:
$ export PATH=${PATH}:/that/dir/with/the/tools $ cd $web-root-dir $ cvs -Q up -dP $ makePut 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"