How To Disable Apache File And Directory Indexing?
- Linux Hosting
- How To Disable Apache File And Directory Indexing?
This Page Contains information about How To Disable Apache File And Directory Indexing? By apache server in category Linux Hosting with 3 Replies. Last Upated: Fri Dec 23, 2016 
Thu Sep 04, 2008
today i noticed something of a security issue with my apacher server. i have a linux (unix) machine running fedora core 7 from RedHat and i noticed that when i go to a url that doesn't have an index file like index.html, or index.htm or index.php and so on, it show/displays all the files in that directory. well, i want to be able to hide all these files and instead show something else, like an error or something. i think this is error 404
anyway, this is how my page looks like, as you can see, it shows and displays my files, which i dont want them to be shown to my visitors. as you can see from this picture, is says:
index of /forums/images/ and parent directory and it lists all my files, i want to avoid having to list my files.
how do i do this?