>How do I disable linux directory listing when there is no index.html?
You will have to expand on this, as it makes no sense as it stands. directory
listing how, on what? What does index.html have to do with anything?
> 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
-- HASM
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.
Don
> 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.
-- HASM