Fw: [PHP-INST] Index page
| From: | Stephen Edmonds | Date: | Fri, 03 Jan 2003 11:54:35 +0000 |
| Subject: | Fw: [PHP-INST] Index page | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9508@lists.php.net to get a copy of this message | ||
Just so everyone knows what the solution was... I forgot to forward it to
the mailing list last time!
----- Original Message -----
From: "Stephen Edmonds" <stephen.edmonds5@btinternet.com>
To: "thkiat" <thkiat@pd.jaring.my>
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" <thkiat@pd.jaring.my>
> To: "Stephen Edmonds" <stephen.edmonds5@btinternet.com>
> Sent: Thursday, January 02, 2003 3:47 PM
> Subject: Re: [PHP-INST] Index page
>
>
> > Apache.....
> >
> > ----- Original Message -----
> > From: "Stephen Edmonds" <stephen.edmonds5@btinternet.com>
> > To: <php-install@lists.php.net>
> > Cc: "thkiat" <thkiat@pd.jaring.my>
> > 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" <thkiat@streamyx.com>
> > > To: <php-install@lists.php.net>
> > > 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
> > > >
> > >
> > >
> >
>