|
Posted by "George Pitcher" on 08/26/05 11:07
For IIS, where you have defined your index.html as a default page, you laso
need to define index.php as well. To to this, open the 'Properties' for your
website in the IIS Admin tool, click on the 'Documents' tab and its
straightforward from there. You need to do this for each site.
George
> -----Original Message-----
> From: hope [mailto:umeed921@yahoo.com]
> Sent: 26 August 2005 8:56 am
> To: php-general@lists.php.net
> Subject: Re: [PHP] changes in php.ini
>
>
> Nops
> I m using IIS
>
>
> Hope
>
>
> Jasper Bryant-Greene wrote:
>
> > hope wrote:
> >> Hi all
> >>
> >> Whenever I create a site
> >> and create a index.php file as my home page.
> >>
> >> Whenever i run it a http://localhost/myproject/
> >>
> >>
> >> it says Page cannot be found
> >>
> >> However if I have index.html file it displays.
> >>
> >> SOmebody told me that i need to make changes to php.ini
> >>
> >> bt where and what to change there.
>
> > You don't need to change php.ini, you need to configure your server (is
> > it Apache?) to display index.php files as the DirectoryIndex. If it is
> > Apache, then either insert the following line in the relevant part of
> > httpd.conf for that virtual host/directory, or put it in an .htaccess
> > file in the root of your web application:
>
> > DirectoryIndex index.php
>
> > Jasper
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
[Back to original message]
|