[luau] linux/apache directories

MonMotha monmotha at indy.rr.com
Thu Jun 6 22:16:01 PDT 2002


Oops, my bad.  That will disallow even getting images, probably not what 
you want :)

I think there is a NoIndex keyword or something.  Try google :)

--MonMotha

MonMotha wrote:
> in .htaccess
> 
> <Limit GET>
>     DENY ALL
> </Limit>
> 
> 
> That SHOULD work (untested).  It will error out with a 403 (Forbidden). 
> You can then use a custom error page to redirect users back to the front 
> page.
> 
> --MonMotha
> 
> S Chouinard 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
>>
> 
> 
> _______________________________________________
> LUAU mailing list
> LUAU at videl.ics.hawaii.edu
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
> 





More information about the LUAU mailing list