Posted by hope on 08/26/05 10:55
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
[Back to original message]
|