But you do have to make sure it is set properly in Apache. There are
directives that, even if you have an index.html file in the directory, you
can tell Apache to display the directory listing.
But that is a good security measure too.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Cassio Alexandre Pereira de Castro" <cassio@p...>
To: "professional php" <pro_php@p...>
Sent: Thursday, May 17, 2001 12:53 PM
Subject: [pro_php] Re: Keeping the password secure
> Another tip I could tell you is put links named "index.html" main page
> (also called index.html).
>
> Doing this, the visitor will need to know the name of php file in order to
> see its content. This link will direct the visitor to your main page if he
> tries do access that directory without specifying an existing file.
>
> I'm considering you´re using linux and your default filename in apache is
> "index.html".
>
> Hope it helps and I´m not wrong.... :-)
>
> Cassio.