[luau] linux/apache directories

whenever whatever at whoever.net
Thu Jun 6 22:10:00 PDT 2002


I think you want the images directory to be open to the public but no 
listing.  Permission is change will not allow that, .htaccess need user 
password.  
edit your httpd.conf,  

1) find 
<Directory />
.......... (all your options)
</Directory>
2) Delete 'Indexes' option in there
3) restart  apache

This will take care of the problem, it will not index the directory if 
there's no index.html


On Thursday 06 June 2002 09:37 pm, you wrote:
> Hi-
>
> How can I prevent web browsing of directories under Apache, when a
> directory (such as "images") has no default html file? I want to use the
> httpd.conf file. Hope this is a good place to ask this question. Everything
> I've tried so far, either editing httpd.conf or adding a .htaccess file to
> the directory, hasn't worked so far. Such a simple thing, so frustrating.
> The only thing I've been able to do is add a default (index.html) file to
> each of the directories that normally don't have them, and (kindly)
> redirect the user to the home page with a link. But I know there's a way to
> edit httpd.conf and additionally set up custom error files and accomplish
> this in a much simpler way.
>
> Susan
>
> _______________________________________________
> LUAU mailing list
> LUAU at videl.ics.hawaii.edu
> http://videl.ics.hawaii.edu/mailman/listinfo/luau



More information about the LUAU mailing list