From owner-freebsd-chat Tue Jul 3 20:15:48 2001 Delivered-To: freebsd-chat@freebsd.org Received: from mail.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.42.106.79]) by hub.freebsd.org (Postfix) with SMTP id CABE537B403 for ; Tue, 3 Jul 2001 20:15:45 -0700 (PDT) (envelope-from antipode@thpoon.com) Received: (qmail 25369 invoked from network); 4 Jul 2001 03:15:34 -0000 Received: from unknown (HELO tea.thpoon.com) (qmailr@192.168.1.2) by 192.168.1.1 with SMTP; 4 Jul 2001 03:15:34 -0000 Received: (qmail 2124 invoked by uid 1000); 4 Jul 2001 03:15:28 -0000 To: dan@langille.org Cc: freebsd-chat@FreeBSD.ORG Subject: Re: webpages and CVS - what about CVS/Root etc? References: <200107040053.f640rO745505@lists.unixathome.org> From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Mail-Copies-To: never Date: 03 Jul 2001 23:15:28 -0400 In-Reply-To: <200107040053.f640rO745505@lists.unixathome.org> Message-ID: <87k81pfkq7.fsf@tea.thpoon.com> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 "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. -- Arcady Genkin i=1; while 1, hilb(i); i=i+1; end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message