In ubuntu if you want to disable autoindex feature completely -for obvious security reasons- you may disable the autoindex extension.
a2dismod autoindex -f
If you are on a shared server etc. and do not have this option you may try to remove ‘Indexes’ from httpd.conf