Hiding some directories
Manuel Lemos
mlemos at acm.org
Sat Jan 14 15:52:42 PST 2006
Hello,
on 01/12/2006 02:33 AM Jonathan Noack said the following:
>> >> Is there a way to hide some directories besides CVSROOT?
>> >
>> > See the @ForbiddenFiles array in cvsweb.conf.
>>
>> Thanks, that is what I am looking for.
>>
>> 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.
Great it works as intended. I had to use an entry like qr|^x(/\|$)|o so
directory x and its contents are accepted but not xy directory . It is a
bit cryptic but it works. Thank you again.
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
More information about the freebsd-cvsweb
mailing list