Date: Thu, 12 Jan 2006 23:26:29 +0200 From: Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@freebsd.org> To: noackjr@alumni.rice.edu Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories Message-ID: <1137101189.19680.54.camel@bobcat.mine.nu> In-Reply-To: <43C5DC1C.9040209@alumni.rice.edu> References: <OF96243472.5A043BB8-ON072570F3.0070D138-072570F3.0071175F@microchip.com> <43C5CEBC.6070908@acm.org> <43C5DC1C.9040209@alumni.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2006-01-11 at 23:33 -0500, Jonathan Noack wrote: > > BTW, I am not familiar enough with Perl. Although I was able to > > configure that array to forbid all directories that I did not want, I > > wonder if is there a way to specify in that array just a few top level > > directories that I want. > > How about an @AllowedFiles list that only displays files and directories > that match? See attached patches for cvsweb.cgi and cvsweb.conf. No strong opinions nor objections if this is really needed, but couldn't some extended patterns be used for that, and some commented out examples of those be added to cvsweb.conf? Maybe negative look-behind (see "man perlre")? It could get somewhat hairy though.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1137101189.19680.54.camel>