Quote:
Originally Posted by tadpole
The source I am getting is :
<p><!--webbot bot="HTMLMarkup" startspan --><html><head><title>Test</title>
</head>
<body>
<!--#include virtual="cgi-bin/readblog.cgi"-->
</body></html><!--webbot bot="HTMLMarkup" endspan --></p>
|
That also indicates to me that the file is not being processed with server side include processing. With server side include processing the <!--#include ... line should be gone and replaced with something else.
I have set up an example page here:
http://development.toosxxx4.com/ssh-test/test.shtml
The source code is below:
HTML Code:
<!DOCTYPE HTML>
<html>
<head><title>shtml test page</title></head>
<body>
<h3>include flat html</h3>
<!--#include virtual="static.html"-->
<h3>include cgi from bad config</h3>
<!--#include virtual="/no-such-cgi-bin/noprog.cgi"-->
<h3>include cgi from good config</h3>
<!--#include virtual="/cgi-bin/smaller-min.cgi"-->
</body>
</html>
When you do a view source on the result page all the #include lines are gone including the one with a bad cgi directive. The line with a bad cgi directive is replaced at the hosting computer with an error message so the message and not the include line is sent to the browser.
fg