Thanks for the help Darin, (and the intro to PHP).
I created a simple PHP script using
<HTML><HEAD>
<TITLE>PHP Test</TITLE>
</HEAD><BODY>
<?php phpinfo(); ?>
</BODY></HTML>
and placed it in my IBAY/TEST/HTML directory.
Executing via IE6 from a W98 workstation ran fine (lots of good info displayed).
As my basic problem is trying to execute CGI scripts I took your suggestion and copied the PHP script to the IBAYS/TEST/CGI-BIN directory and attempted to run using the address
http://192.168.100.200/cgi-bin/test.php and this failed with the Internal Server Error 500 again.
The same happens if I attempt to call the script from an HTML script using <a href=/cgi-bin/test.php>test PHP</a>
My HTTPD/ERROR_LOG error log entry for attempt was:
[Tue Dec 21 11:42:16 2004] [error] (8)Exec format error: exec of /home/e-smith/files/ibays/test/cgi-bin/test.php failed
[Tue Dec 21 11:42:16 2004] [error] [client 192.168.100.150] Premature end of script headers: /home/e-smith/files/ibays/test/cgi-bin/test.php
I get the same errors if I try to use a simple CGI script. All CGI files have rights set to 0775.
Any ideas? How can I find out where my cgi-bin directory is REALLY mapped to?
Thanks,
Alex