[thelist] IIS SSI question.

Richard Livsey R.Livsey at cache-22.co.uk
Tue Feb 13 05:34:00 CST 2001


> > -----Original Message-----
> > From: thelist-admin at lists.evolt.org
> > [mailto:thelist-admin at lists.evolt.org]On Behalf Of William Anderson
> > Sent: 13 February 2001 11:01
> > To: thelist at lists.evolt.org
> > Subject: Re: [thelist] IIS SSI question.
> >
> > > The scripts just some standard poll script Ive been using (I
> > really should
> > > get round to writing my own!).
> > > Its calling the script wil an exec cgi.
> >
> > I would wager it's executing the CGI as a CGI script normally
> > would, and is
> > outputting HTTP headers expected by a web browser.
>
> Spot on.
>
> <tip type="Activestate Perl" author="John Handelaar">
> Perl on Win32 allows you to have a script called by
> either perl.exe or the ISAPI plugin PerlIS.dll.
> One of them prepends HTTP headers in front of
> _everything_, the other doesn't.  You can differentiate
> between the two types of output by assigning different
> file type extensions to each method.
> </tip>
>
> ------------------------------------------
> John Handelaar
>
Cheers, that helped me figure it out!

<tip type="Activestate Perl" author="Richard Livsey">
If a CGI script is outputting headers when you dont want to, try changing
the extension the file uses from .cgi to .pl
</tip>

R.Livsey
Freelance web developer
Vibus.net Director
Lead programmer for Tickle.co.uk
m. +44 (0) 7714 757250
e. R.Livsey at Cache-22.co.uk





More information about the thelist mailing list