| shimmyshack 2007-04-29, 1:22 am |
| On Apr 29, 12:09 am, "mirage" <mirage...@verizon.net> wrote:
> I am running 2.0.58, and php 5.2.1
>
> I have an index.php file and it will not load up automaticly like a .html
> file will. I have a pre written script and the files names in the php files
> that call another php file will not load up I get the directory just fine
> and can click on the file and it will load just fine. php works fine as
> long as I call it by index.php or whatever.php
>
> When I installed php hter are the lines that I have added to httpd.conf
> (apache config file)
>
> PHPIniDir "C:/php/"
> LoadModule php5_module "C:/php/php5apache2.dll"
> AddType application/x-httpd-php .php .html
>
> If anyone has any ideas please let me know
>
> Thank you.
You need to add index.php onto the end of your DirectoryIndex
directive,
DirectoryIndex is a whitespace separated list of all the files which
apache will look for in a directory by default, index.html is there
already.
please see documentation here:
http://httpd.apache.org/docs/2.0/mo...#directoryindex
|