Gossamer Forum
Home : General : Perl Programming :

Useless Header info returned by IIS when running SSI exec

Quote Reply
Useless Header info returned by IIS when running SSI exec
Ok. I know threads about this have been posted before but none have the answer I need. So here goes again...

This is my script:


#!/usr/bin/perl -w

use strict;

print "Content-type: text/html\n\n";
print "<p>Boo, Wuzza wuzza... Infinity!!!</p>";


When I try this from an html page:


<!--#exec cgi="/cgi-bin/ssicalltest.pl" -->


I get this before the output I want from the script:


HTTP/1.1 200 OK Date: Tue, 02 Jul 2002 20:05:50 GMT Server: Microsoft-IIS/5.0 Content-type: text/html


Obviously the only thing I want displayed in my browser is:


Boo, Wuzza wuzza... Infinity!!!


Yes, I am properly configured for SSI.

Yes, my server accepts the <!--exec cgi="... command.

I just need to know how to get rid of / suppress that response header stuff when I run this on an IIS server. I get exactly what I want from Apache Smile but I need for this to work on IIS as well Unsure.

Thanks to anyone who can help.

Last edited by:

Crolguvar: Jul 2, 2002, 1:46 PM
Subject Author Views Date
Thread Useless Header info returned by IIS when running SSI exec Crolguvar 6174 Jul 2, 2002, 1:33 PM
Thread Re: [Crolguvar] Useless Header info returned by IIS when running SSI exec
yogi 6057 Jul 2, 2002, 1:39 PM
Thread Re: [yogi] Useless Header info returned by IIS when running SSI exec
Crolguvar 6034 Jul 2, 2002, 1:45 PM
Thread Re: [Crolguvar] Useless Header info returned by IIS when running SSI exec
Paul 6094 Jul 2, 2002, 1:47 PM
Thread Re: [Paul] Useless Header info returned by IIS when running SSI exec
Crolguvar 6046 Jul 2, 2002, 1:50 PM
Thread Re: [Crolguvar] Useless Header info returned by IIS when running SSI exec
Paul 6049 Jul 2, 2002, 1:55 PM
Thread Re: [Paul] Useless Header info returned by IIS when running SSI exec
Crolguvar 6015 Jul 2, 2002, 1:56 PM
Post Re: [Crolguvar] Useless Header info returned by IIS when running SSI exec
Crolguvar 5999 Jul 3, 2002, 12:15 PM