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 problem here, is that PDFs don't get created/update and if the templates change the change won't be picked up (need to force a rebuild once in a while). See my cvs commit with a more elaborate cron, which is tuned to handle all situations, while trying to use as little CPU as possible.
==================================================================
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>
=====================================================================
That's cool, I've added it to the /docs/download/docs.html, Thanks!
The site layout and the search have been really well thought out, making it easy to mirror.
;)
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
