Index of / page


#1

In browser I have “Index of /” with all my files on server seeing from all.
How can I protect the page?
Claudio


#2

with htaccess

Options -indexes

see https://panel.dreamhost.com/kbase/index.cgi?area=2517&keyword=indexes for more info


#3

All you need is an index.htm file in that folder. Even if it is blank, then the listing won’t show.
Silk


#4

I prefer “index.html” myself, with the more excruciatingly proper four-letter extension standing for HyperText Markup Language, since I regard “.htm” as a bastardized Microsoftism dating to archaic operating systems that limited extensions to three letters.

– Dan


#5

Better not tell the open source people.

They’ll really get their panties in a wad about .php!