Click to See Complete Forum and Search --> : problem with apache directory listing


haroon373
05-28-2007, 02:44 AM
its okey with apache that whever you type url of a directory. if index file found than apache open it. but the problem is that if no file is found, apache display the contents of that directory. means show the list the folders and files in that directroy.

now i want to block this feature. that, whenever a user going to open the directory that contain my images, js files or other files, then it will not show anything,

i hope this will enogh for you guys

plz help

thnx

Sheldon
05-28-2007, 03:03 AM
you want to google apache .htaccess (http://httpd.apache.org/docs/1.3/howto/auth.html)