On Wed, 4 Dec 2002, Stas Bekman wrote: [ .. ] > But encouraging cvs mirrors sounds like a good idea to me. > We could also offer the cron script which syncs the cvs, rebuilds the > docs and indices.
That sounds good - makes it as easy as possible to do a full mirror ... Here's the cron script I use ... ================================================================= #!/bin/bash export PATH=/usr/local/bin:/bin:/usr/bin export MODPERL_SITE='http://theoryx5.uwinnipeg.ca/modperl' export SWISH_BINARY_PATH='/usr/local/bin/swish-e' cd /usr/local/modperl-docs cvs -z9 up -dR bin/build bin/makeindex ================================================================== The docs are in /usr/local/modperl-docs, and my httpd.conf has ================================================================== Alias /modperl/ "/usr/local/modperl-docs/dst_html/" <Directory "/usr/local/modperl-docs/dst_html"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> <Directory "/usr/local/modperl-docs/dst_html/search"> SetEnv SWISH_BINARY_PATH "/usr/local/bin/swish-e" SetEnv PERL5LIB "/usr/local/modperl-docs/dst_html/search/modules" Options +ExecCGI AddHandler cgi-script cgi </Directory> ===================================================================== The site layout and the search have been really well thought out, making it easy to mirror. -- best regards, randy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
