[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] index.php3? RaQ3



Dan Holtz <danh@xxxxxxxxxxxxxx> wrote:
> I've successfully installed PHP3 on my RaQ3, but cannot get it to execute
> index.php3 in place of index.html.

So, you have both index.html and index.php3 in the same web directory, but you want
index.php3 to take preference over index.html?  Make sure "index.php3" is to the left
of "index.html" in the following line in your config file: DirectoryIndex index.php3
index.html

> I added this to my mime.types file:
>     application/x-httpd-php         php3 php

Or is your problem that a webpage with PHP code won't load from a browser?  Or your
browser is trying to download it?  In the srm.conf file on my RaQ2 I have:

AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .php

Steven Werby {steven-lists@xxxxxxxxxxxx}