Date: Wed, 4 Jul 2001 07:52:12 -0400 From: "Dan Langille" <dan@langille.org> To: Arcady Genkin <antipode@thpoon.com> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: webpages and CVS - what about CVS/Root etc? Message-ID: <200107041152.f64BqL752272@lists.unixathome.org> In-Reply-To: <87k81pfkq7.fsf@tea.thpoon.com> References: <200107040053.f640rO745505@lists.unixathome.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 Jul 2001, at 23:15, Arcady Genkin wrote: > "Dan Langille" <dan@langille.org> 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: <Files ~ "^CVS"> Order allow,deny Deny from all </Files> <Files ~ "Entries|Root|Repository"> Order allow,deny Deny from all </Files> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107041152.f64BqL752272>