??? nisam te razumeo zasto bi zabranio listanje direktorijuma redirekcijom???
Ukoliko je to apache server, i index.html je default stranica, samo napravis prazan index.htmlu tom direktorijumu, i listanje fajlova ce nestati....
Drugo resenje je modifikacija Directory direktive u httpd.conf fajlu (konfiguracionom za apache) i to opcija koje su dopustene u Options tagu (ili kako vec da ga nazovem).
Iliti sto bi rekla dokumentacija:
http://httpd.apache.org/docs-2.0/mod/core.html pa odaberes options... i tamo lepo stoji:
Citat:
Indexes
If a URL which maps to a directory is requested, and there is no DirectoryIndex (e.g., index.html) in that directory, then mod_autoindex will return a formatted listing of the directory.
Kad sve ostalo zakaže, pročitaj uputstvo...