index.php not auto launching

Alles, was den Apache betrifft, kann hier besprochen werden.

index.php not auto launching

Postby bwls@earthlink » 31. July 2010 19:13

I thought that the web server went through a sequence when opening a site:
1) look for a index.htm file and then for a index.php file.

My Windows 7 - Apache 2.2 is not doing this - it will not execute the .php script automatically.

It appears to run the script if I load it manually. And it will run phpinfo().

Any idea as to what may be needed?

Thanks.
bwls@earthlink
 
Posts: 10
Joined: 22. July 2010 22:36

Re: index.php not auto launching

Postby Nobbie » 01. August 2010 09:35

Read the apache docu about the configuration directive "DirectoryIndex".
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 3 guests