> The problem is like this: I have two virtual domains on the same server.
> The first domain starts with the "index.html" file. This works fine. All
> I have to type in my browser is "www.host1.test" and the page with lots
> of php in it, comes up perfectly. The second virtual host starts with
> the file "index.php", but when I type in my browser "www.host2.test", I
> get an error. Only when I type "www.host2.test/index.php" does it start.
> I have looked at the archives, but there doesn't seem to be an example
> of this, or I have just missed it. I am using the latest Crux port.

Hi. You probably need to add "index.php" to the IndexNames.
Somewhere in your configuration file there is a line that looks like

  IndexNames { index.html }

Change that to

  IndexNames { index.html index.php }

and things should be ok.

Cheers
Michiel

Reply via email to