From owner-freebsd-chat Wed Jul 4 4:52:41 2001 Delivered-To: freebsd-chat@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 9F6C837B401 for ; Wed, 4 Jul 2001 04:52:34 -0700 (PDT) (envelope-from MAILER-DAEMON@dvl-software.com) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.1/8.11.1) with ESMTP id f64BqL752272; Wed, 4 Jul 2001 23:52:22 +1200 (NZST) (envelope-from MAILER-DAEMON@dvl-software.com) Message-Id: <200107041152.f64BqL752272@lists.unixathome.org> From: "Dan Langille" Organization: novice in training To: Arcady Genkin Date: Wed, 4 Jul 2001 07:52:12 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: webpages and CVS - what about CVS/Root etc? Reply-To: dan@langille.org Cc: freebsd-chat@FreeBSD.ORG References: <200107040053.f640rO745505@lists.unixathome.org> In-reply-to: <87k81pfkq7.fsf@tea.thpoon.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 3 Jul 2001, at 23:15, Arcady Genkin wrote: > "Dan Langille" writes: > > > I know you're out there. You're using cvs to store your webpages. How > > do you publish the pages? Via "cvs update" directly into the document > > root of the website? If so, what are you doing about files which you may > > not want people to see, such as CVS/Entries? > > > > I'm quite sure I can use the Apache "files" directive to restrict access. > > But I was hoping for other suggestions. > > Personally I maintain a Makefile which installs just the needed files > with correct permissions to the right places. > > Apart from that you can use "cvs export" to get a copy without the CVS > control files. I also saw a different approach: simply chmod the CVS > directories to something that is not readable to apache (usually 700 should > do); but this way you have to be mindful adding new directories. So far, this has worked for me: Order allow,deny Deny from all Order allow,deny Deny from all -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message