Just so everyone knows what the solution was... I forgot to forward it to
the mailing list last time!

----- Original Message -----
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "thkiat" <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 3:52 PM
Subject: Re: [PHP-INST] Index page


> Do a search for the line
> 'DirectoryIndex index.html'
> in the Apache\conf\httpd.conf file in the Apache folders (Its the
> configuration file, Apache should have made a shortcut to the file when it
> was installed)
>
> Then replace it with
> 'DirectoryIndex index.php index.html'
> (Without the '' obviously!)
>
> That will make the webserver first look for an index.php, then an
> index.html, and then give up. You can add other file names in there, the
> reading order is from left to right. This should solve your problem.
>
> Stephen
>
> ----- Original Message -----
> From: "thkiat" <[EMAIL PROTECTED]>
> To: "Stephen Edmonds" <[EMAIL PROTECTED]>
> Sent: Thursday, January 02, 2003 3:47 PM
> Subject: Re: [PHP-INST] Index page
>
>
> > Apache.....
> >
> > ----- Original Message -----
> > From: "Stephen Edmonds" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: "thkiat" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 02, 2003 11:44 PM
> > Subject: Re: [PHP-INST] Index page
> >
> >
> > > That is due to the configuration of your webserver. You need to set it
> to
> > > accept index.php as an 'index' page. Most webservers come with
> index.html
> > as
> > > the page to open. What web server are you using?
> > >
> > > ----- Original Message -----
> > > From: "thkiat" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, January 02, 2003 3:25 PM
> > > Subject: [PHP-INST] Index page
> > >
> > >
> > > > Why by only typing http://localhost/ the index.php did not show up.
I
> > have
> > > > to type http://localhost/index.php for the page to show up. How can
I
> > > solve
> > > > this problem?
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > >
> > >
> >
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to