On Thu, 6 May 2004 22:03:20 +0200,[EMAIL PROTECTED] (Juergen Daubert) wrote:

|On Thu, May 06, 2004 at 04:20:41PM +0200, Ian Armstrong wrote:
|> 
|> mathopd mailing list,
|
|Hi Ian,
|
|> I have just installed mathopd for the first time, and it appears 
|> to be running correctly. There is just one thing I noticed, and 
|> that is, it reads my webs page if they start with \"index.html\", 
|> but not if they start with \"index.php\". Otherwise php seems to 
|> work fine.
|
|I guess you mean with 'read index.php', that the page should be
|processed by the php interpreter. If so, just put a line
|
| External { /usr/bin/php { php } }
|
|into the Control section of your mathopd configuration file.
|
|
|Greetings
|Jürgen
|
|
|-- 
|[EMAIL PROTECTED]
|

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.

Thanks,
Ian.

Ian Armstrong
--------------------------------
ika at expressmail dot dk
http://www.expressmail.dk
Brøndshøj 14, Rønne, 3700, Bornholm, Denmark

Reply via email to