IIS with Perl
am 25.07.2007 12:52:21 von Gareth Howe
Hello,
We've just installed a new server with IIS and Perl.
With the new encarnation of the server, when we run CGI scripts,
"Content-type: text/html" is displayed at the top of every .cgi page.
What have I done wrong here and what do I need to do to correct it?
Many thanks,
Gareth
Re: IIS with Perl
am 25.07.2007 14:42:41 von Egbert Nierop
"Gareth Howe" wrote in message
news:%233M7vnqzHHA.5052@TK2MSFTNGP04.phx.gbl...
> Hello,
>
> We've just installed a new server with IIS and Perl.
> With the new encarnation of the server, when we run CGI scripts,
> "Content-type: text/html" is displayed at the top of every .cgi page.
> What have I done wrong here and what do I need to do to correct it?
It looks like the Content-Type header tag is sent directly without an empty
row \r\n before the real HTML document content begins.
How does your CGI set the content-type?
Do you have a sample?
(ps: :Also ask some perl groups).
> Many thanks,
> Gareth
>
Re: IIS with Perl
am 31.07.2007 11:24:39 von Gareth Howe
Hi,
I am uncertain- I didn't actually program the script. All I did was copy
the files from our old server to the new one and assumed it would work in
the same way...
Since the Content-type line was not displayed on the old server I assumed
the new one has a configuration error.
Will find a perl group too!
Thanks,
Gareth
"Egbert Nierop (MVP for IIS)" wrote in
message news:ehPpNlrzHHA.2484@TK2MSFTNGP06.phx.gbl...
>
> "Gareth Howe" wrote in message
> news:%233M7vnqzHHA.5052@TK2MSFTNGP04.phx.gbl...
>> Hello,
>>
>> We've just installed a new server with IIS and Perl.
>> With the new encarnation of the server, when we run CGI scripts,
>> "Content-type: text/html" is displayed at the top of every .cgi page.
>> What have I done wrong here and what do I need to do to correct it?
>
> It looks like the Content-Type header tag is sent directly without an
> empty row \r\n before the real HTML document content begins.
> How does your CGI set the content-type?
> Do you have a sample?
>
> (ps: :Also ask some perl groups).
>
>
>> Many thanks,
>> Gareth
>>
>
Re: IIS with Perl
am 31.07.2007 13:58:01 von RamonJimenez
Gareth
you may also install perl binaries on the new server and tell IIS how must
handl perl scripts.
Take a look on www.perl.com or www.perl.org
Regards Ramon
"Gareth Howe" wrote:
> Hi,
>
> I am uncertain- I didn't actuallhttp://www.microsoft.com/wn3/aspx/postui.aspx?mid=7d2 36825-c019-4451-9c87-cbb39f82cac5&guid=&sloc=en-us&dg=micros oft.public.inetserver.iis&base=http://www.microsoft.com/comm unities/newsgroups/en-us/default.aspx&bclr=ececec&fclr=00000 0&sxml=http://www.microsoft.com/communities/newsgroups/en-us /site.xml&stgxml=http://www.microsoft.com/communities/newsgr oups/en-us/settings.xml&sdgloc=en-US&tt=0y program the script. All I did was copy
> the files from our old server to the new one and assumed it would work in
> the same way...
> Since the Content-type line was not displayed on the old server I assumed
> the new one has a configuration error.
> Will find a perl group too!
>
> Thanks,
> Gareth
>
> "Egbert Nierop (MVP for IIS)" wrote in
> message news:ehPpNlrzHHA.2484@TK2MSFTNGP06.phx.gbl...
> >
> > "Gareth Howe" wrote in message
> > news:%233M7vnqzHHA.5052@TK2MSFTNGP04.phx.gbl...
> >> Hello,
> >>
> >> We've just installed a new server with IIS and Perl.
> >> With the new encarnation of the server, when we run CGI scripts,
> >> "Content-type: text/html" is displayed at the top of every .cgi page.
> >> What have I done wrong here and what do I need to do to correct it?
> >
> > It looks like the Content-Type header tag is sent directly without an
> > empty row \r\n before the real HTML document content begins.
> > How does your CGI set the content-type?
> > Do you have a sample?
> >
> > (ps: :Also ask some perl groups).
> >
> >
> >> Many thanks,
> >> Gareth
> >>
> >
>
>
>