Hi Chris
Chris <[EMAIL PROTECTED]> a écrit

> Hello,
>  This is an easy answer. You MUST define this in addition to the others
> listed in the httpd.conf file:
>
> index.php index.php3 index.php4 index.phtml index.phps
>
> this(ese) lines are found under the heading:
> <IfModule mod_dir.c>
>     DirectoryIndex index.html index.htm index.php default.html default.htm
> </IfModule>
>
> Your ISP should know this. Simply tell him/ her to add them. :-)
>
>
I thought it might be something like that. So I asked them -- and they
refused, even after I explained that lack of this was displaying my source
code to the world. Unfortunately, I didn't choose this host, the client did,
so I can't easily do the obvious thing -- tell them to take a flying leap! I
hoped I might be able to use a .htaccess file to achieve the same ends, but
I think they must have disabled using .htaccess for this purpose as I can't
get it to work -- although it does work for user authorization, with a
.htpassword file.

Their suggested solution? Create an index.html file in each directory, with
a meta-refresh of zero, redirecting to the real index file! Great ...

Veronica



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to