CVS Questions

Kurt Granroth plug-discuss@lists.PLUG.phoenix.az.us
Fri, 15 Jun 2001 12:20:07 -0700


Randy Kaelber wrote:
> Another fun thing to do when using CVS to maintain a web site:
> 
> Put in a cron job to update the web site however often you want to do it,
> so that when yo check in your content, your web site is auto-updated.
> 
> Also, if you're using Apache or its dereivatives, I'd suggest putting
> something such as this into your httpd.conf:
> 
> <Files ~ "^CVS">
>    Order allow, deny
>    Deny from all
> </Files>
> 
> This will keep people from looking into your local CVS files, which is
> probably a good thing.

Another possibility is to just 'rsync' the files from CVS into your
webserver root.  rsync has options for excluding certain files (CVS
ones being a default exclude).
-- 
Kurt Granroth            | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org         | granroth@suse.com
            KDE -- Conquer Your Desktop