O grupo no qual você está postando é um grupo da Usenet. As mensagens postadas neste grupo farão com que o seu e-mail fique visível para qualquer pessoa na internet.
Don <n...@adr.com> writes: > How do I disable linux directory listing when there is no index.html?
If we're talking Apache server running on Linux use Options -Indexes on an .htaccess at the top of each hierarchy you don't want that to happen, or in the <Directory> sections of httpd.conf
Thanks for your reply. It's a Red Hat Linux system. Any idea how to prevent a directory listing with that? I tried the htaccess file with Options -Index thing but it didn't work.
On Sat, 31 Oct 2009 17:15:41 -0700, HASM <netn...@invalid.com> wrote: >Don <n...@adr.com> writes:
>> How do I disable linux directory listing when there is no index.html?
>If we're talking Apache server running on Linux use > Options -Indexes >on an .htaccess at the top of each hierarchy you don't want that to happen, >or in the <Directory> sections of httpd.conf
Don <n...@adr.com> writes: > I tried the htaccess file with Options -Index thing but it didn't work.
Look for the AllowOverride directive for the <Directory> hierarchy in question in /etc/httpd/conf/httpd.conf. You probably have an "AllowOverride None" somewhere and may need to change that to "AllowOverride Indexes", plus whatever else you want to allow.