Gossamer Forum
Home : General : Perl Programming :

SSI Problem on IIS 5.0

Quote Reply
SSI Problem on IIS 5.0
Hi,

We want to add a Server Side Include (SSI)to our default1.shtml page. We have encountered a problem that we are having trouble with.

To include another html page in our shtml page we use the following command:

<!--#exec cgi="/africanosestates/exec/search.cgi?search=1&perpage=1&lfield32_keyword=yes&template=_featured_property.html" -->

the result comes out but with a line of text that I donít want to appear. You can take a look at the page here:

http://www.skwebline.net/...tates/default1.shtml

the text under featured property of the week should not be there, how do you suggest that I get rid of that so it only displays the property page.

------------------------------------

HTTP/1.1 200 OK Date: Mon, 19 Apr 2004 13:48:12 GMT Server: Microsoft-IIS/5.0 Content-type: text/html

-------------------------------------------

our server is a windows 2000 personal server IIS 5.0 and we have setup the server ourselves.

It looks like our web server is pumping out an extra header to the webpage. Generally, header information like that would be hidden and only seen by the web browser and the web server. It may be that there's a duplicate header being generated. However, given that I am not a network administrator, I can't say for sure how to fix that. The SSI code that we are using is definitely the correct code for executing an include on a Windows server.

We have also checked on the server to see if the problem can be fixed but we didnít find anything wrong with the server settings.

Could you please advice us on this.

Thank you for your time