Are you trying to set up your hosting so that if you type a URL ending with a directory name it lists all the files in that directory (in the browser), but instead of the directory listing you get an Apache test page?
Usually, directory listing is enabled by default (at least in CentOS 4.x) in a freshly installed apache (or httpd in CentOS case). But here are the checkpoints you need to go through to make sure everything is set up correctly:
- Check that you have “
Options +Indexes"httpd.conf inside the appropriate
- Make sure that you have removed the
/etc/httpd/conf.d.This file will be displayed instead of the directory listing if you don’t remove/rename it.