Im having a problem Im unable to sort out.
I created a CGI to dynamically take the latest news articles from my database and display them in HTML code. I did this CGI so I could call it with an SSI inside my index page.
The problemas came when testing my page I saw that the webpage doesnt display all the content. It only shows the content that goes before the SSI and nothing that goes after the SSI.
For example, lets say I have my page like this:
<html>
<head>
<title>INDEX PAGE</title>
</head>
<body>
<b>Some content before the SSI</b>
<p>
<!--#include virtual="cgi-bin/news.cgi"-->
<p>
<b>Some content after the SSI</b>
</body>
</html>
When I display my page with my web browser I only see what is before the include virtual, I mean the "Some content before.." message, bu it doesnt show the "Some content after.." message. When I see the source code it seem like something stopped the page download.
The CGI runs without a problem and it does display the news articles in the example page, and I already have some other SSI running in another web page, and I don't understand why it is doing this since Im not doing anything different.
I hope someone can help me...thanks
[httpd.apache.org...]