Hi Reinhold,
Thanks for your response.
Last night I completely flattened my SME server and did a rebuild to ensure that the system is 'clean'.
I have re-created the files and have the same problem.
I have tried your suggestion of accessing via
http://192.168.100.200/cgi-bin/test.cgi (with NO www) but get the same 500 Internal Server Error. (I also tried the same with the test.htm file in that directory and got the same error).
Below is are locations and rights of the 3 files followd by a printout of each file together with the rights of the cgi-bin directory, (sorry for the silly names in the index file).
Hope this helps and thanks once again,
Alex.
++++++++++++++++++++++++++++++++++++++++++++++++++++
/home/e-smith/files/primary/html/index.htm (-rwxr----- 0740)
/home/e-smith/files/primaryl/cgi-bin/test.cgi (-rwxr-x--x 0751)
/home/e-smith/files/primary/cgi-bin/test.htm (-rwxr----- 0740)
/home/e-smith/files/primary/cgi-bin (drwxr-s--- 2750)index.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Sheep Foundation</TITLE>
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>
<BODY BGCOLOR="#FFFFFF" MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="10" WIDTH="100%">
<TR>
<TD BGCOLOR="#290099" COLSPAN="2"><FONT COLOR="#F7E0B5"><H1>Sheep Foundation</H1></FONT></TD>
</TR>
<TR>
<TD BGCOLOR="#F7E0B5" WIDTH="15%"> </TD>
<TD BGCOLOR="#FFFFFF" WIDTH="85%">
<FONT COLOR="#000000"><H2>Leaders in Sheep Technology</H2></FONT>
<a href="/cgi-bin/test.cgi">Test CGI</a><br>
<a href="/cgi-bin/test.htm">Test HTM</a><br>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
test.cgi #!/usr/bin/perl
print "Hello World\n";
print "This is a test CGI\n";
test.htm <HTML>
<HEAD>
<TITLE></TITLE>
<META name="robots" content="nofollow,noindex">
<META name="keywords" content="">
</HEAD>
<BODY BGCOLOR=FFFFFF TEXT=000000 LINK=0000FF VLINK=800080>
<h1>This is TEST HTM</h1>
</BODY>
</HTML>