is it possible to list all files in directory ?
asdf.com/dir/
but dir has index.html in it, so when you navigate to it index.html pops up.
for precaution i have added
IndexIgnore *
|
is it possible to list all files in directory ? asdf.com/dir/ but dir has index.html in it, so when you navigate to it index.html pops up. for precaution i have added
| |||||
feedback
|
|
Misunderstood your question -- the way I read it, it seemed that you wanted to list all the files in the directory. I've edited my answer below. You need something like this in
Attempting to list the contents of that directory will always result in 403 Forbidden. Alternatively, you can put a blank index.html in there, and it will have the same effect. Users will not be able to view the directory listing. | |||||
feedback
|