Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 3.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 2012-10-19, 07:45 AM   #13
flowersgone
Are you sure you're an accredited and honored pornographer?
 
Join Date: Sep 2008
Posts: 67
Quote:
Originally Posted by tadpole View Post
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
__________________
Thank you for checking out my:
Portfolio and Tech Services

Last edited by flowersgone; 2012-10-19 at 07:53 AM.. Reason: improved fmting etc
flowersgone is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:29 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc