That should be doable by placing a htaccess file in the very root of
your website and putting inside: Options -Indexes. (see my link for
the exact directive, but I think that's it). In the directories you
want a listing do the same with the htaccess file in the directory
root and substituting the - for a +.

On 7/16/10, Charles Lindauer <[email protected]> wrote:
> Thanks, John. What I need to do is just the opposite of what we want to do,
> tho. The site has a fairly large number of directories, only a few of which
> should be accessible. The .htaccess suggestion you offered would require
> giving access to everything, and then going back and listing most of the
> directories in the ,htaccess file as blocked. If that’s the only way to do
> it, OK. We’d like to find a way to block access to the majority, and make
> the few available.
>
> Am I making sense?
> Charles
>
> On Jul 16, 2010, at 5:51 PM, John Musbach wrote:
>
>> Ohh ok, then see this for the related htaccess directives. These go in
>> ".htaccess" files in the root of each directory structure you want the
>> settings to apply to.
>>
>> On 7/16/10, Charles Lindauer <[email protected]> wrote:
>>>
>>> Mac OSX Server Version 10.5.8 (Build 9L30)
>>> Kernal Version 9.8.0
>>>
>>> Using the Mac GUI server admin:
>>>
>>> Web>Sites>Options
>>> It allows you to check a box for folder listings site-wide. There are no
>>> options for particular directories.
>>>
>>> I would like to be able to set the default to uncheck "Folder Listing"
>>> meaning that the default is no listing and modify individual directories
>>> to
>>> list on an as needed basis.
>>>
>
>
>
>
>
>
>
>
>
>
>
>
>


-- 
Best Regards,

John Musbach
_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to