[Zope] Re: LocalFS - Allow View of Files, Disallow Browse of dir ectories

Florian Schulze florian.proff.schulze at gmx.net
Mon Jun 14 10:27:54 EDT 2004


Oh, I forgot to mention that I used localfs-1.2-andreas as the base.

Florian Schulze


On Mon, 14 Jun 2004 13:34:14 +0200, Florian Schulze  
<florian.proff.schulze at gmx.net> wrote:

> I solved it in class LocalFS this way:
>
> -        ('View', ('index_html', '')),
> +        ('View', ('',)),
> +        ('View Directory Index', # proff_fs - Seperate permission for  
> this
> +            ('index_html',)),
>
> On Mon, 14 Jun 2004 09:38:56 +0400, Samir Mishra  
> <SamirMishra at cbuae.gov.ae> wrote:
>
>> I have the CVS version of LocalFS.
>>
>> As for a solution to my problem, I resolved it by defining the
>> 'default_document' property as blank.html, which I create in each target
>> local directory with 'touch blank.html'
>>
>> -----Original Message-----
>> From: Andreas Heckel [mailto:andreas at easyleading.org]
>> Sent: Tuesday, June 08, 2004 16:42
>> To: Samir Mishra
>> Cc: 'zope at zope.org'
>> Subject: Re: [Zope] LocalFS - Allow View of Files, Disallow Browse of
>> directories
>>
>>
>> What version are you using?
>>
>> Try to checkout the cvs version at:
>>
>> http://cvs.easyleading.org/browse/LocalFS/LocalFS.tar.gz?tarball=1
>>
>> Greetings Andreas Heckel
>> http://www.easyleading.org/
>>
>> Samir Mishra wrote:
>>> Hello all,
>>>
>>> I'm trying to set up LocalFS folders in Zope that will allow anonymous
>> users
>>> to access contents of individual files in the folder, but they will  
>>> not be
>>> able to browse the directory. Something like Apache, and what it does  
>>> with
>>> the icons directory.
>>>
>>> Thanks.
>>>
>>> Samir
>>
>> _______________________________________________
>> Zope maillist  -  Zope at zope.org
>> http://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://mail.zope.org/mailman/listinfo/zope-announce
>>  http://mail.zope.org/mailman/listinfo/zope-dev )
>>
>
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/




More information about the Zope mailing list