RE: Malformed header from script

2007-04-19 Thread michael watson \(IAH-C\)
it is compatible with mod_perl2" Mick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: 19 April 2007 13:23 To: michael watson (IAH-C) Cc: modperl@perl.apache.org Subject: Re: Malformed header from script One other idea: try updating

Re: Malformed header from script

2007-04-19 Thread Perrin Harkins
One other idea: try updating the CGI.pm module on that server to the latest version. - Perrin

Re: Malformed header from script

2007-04-19 Thread Perrin Harkins
On 4/19/07, michael watson (IAH-C) <[EMAIL PROTECTED]> wrote: You said that "It should be examining the output of contigview and mapview to determine if there's a content type header, and if not, it will send text/html." Actually, I believe you always have to send the Content-type header from y

RE: Malformed header from script

2007-04-19 Thread michael watson \(IAH-C\)
ny known bugs that could possibly be causing this behaviour? Many thanks Mick -Original Message- From: Robert Landrum [mailto:[EMAIL PROTECTED] Sent: 18 April 2007 17:11 To: michael watson (IAH-C) Cc: modperl@perl.apache.org Subject: Re: Malformed header from script michael watson (IAH-C)

Re: Malformed header from script

2007-04-18 Thread Robert Landrum
michael watson (IAH-C) wrote: [Wed Apr 18 09:56:55 2007] [notice] Apache/2.2.4 (Unix) mod_perl/2.0.3 Perl/v5.8.0 configured -- resuming normal operations [Wed Apr 18 09:56:57 2007] [error] [client 149.155.40.20] malformed header from script. Bad header=: mapview [Wed Apr 18 09:56:57 2007] [warn]

RE: Malformed header from script

2007-04-18 Thread michael watson \(IAH-C\)
, but nothing that seems to specifically print out these headers... Thanks Mick -Original Message- From: Robert Landrum [mailto:[EMAIL PROTECTED] Sent: 16 April 2007 17:45 To: michael watson (IAH-C) Cc: modperl@perl.apache.org Subject: Re: Malformed header from script michael watson (I

Re: Malformed header from script

2007-04-16 Thread Robert Landrum
michael watson (IAH-C) wrote: Sorry for the confusion The code also actually attempts to print out HTML headers ie " etc" but these DO NOT come through to the webpage - instead, a bunch of special characters are printed out... Right... because the and tags are being (incorrectly) shov

RE: Malformed header from script

2007-04-16 Thread michael watson \(IAH-C\)
April 2007 14:22 To: michael watson (IAH-C) Cc: Perrin Harkins; modperl@perl.apache.org Subject: Re: Malformed header from script michael watson (IAH-C) wrote: > If I view source in IE, the very top of the web page starts: > > Ensembl release 43: Gallus gallus Features on Chromosome 2

Re: Malformed header from script

2007-04-16 Thread Stephane Chazelas
On Mon, Apr 16, 2007 at 09:22:08AM -0400, Michael Peters wrote: > michael watson (IAH-C) wrote: > > > If I view source in IE, the very top of the web page starts: > > > > Ensembl release 43: Gallus gallus Features on Chromosome 23 > > 6042217-6042217 > > You can't see HTTP headers when doing a

Re: Malformed header from script

2007-04-16 Thread Michael Peters
michael watson (IAH-C) wrote: > If I view source in IE, the very top of the web page starts: > > Ensembl release 43: Gallus gallus Features on Chromosome 23 > 6042217-6042217 You can't see HTTP headers when doing a 'view source'. No browser will include them. In order to really see your HTTP h

RE: Malformed header from script

2007-04-16 Thread michael watson \(IAH-C\)
Clinton Gormley; modperl Subject: RE: Malformed header from script On Mon, 2007-04-16 at 11:49 +0100, michael watson (IAH-C) wrote: > Hi > > Thanks for all your help. If I print out the header line myself, before > anything else is printed out, then for some reason none of the images

RE: Malformed header from script

2007-04-16 Thread Clinton Gormley
On Mon, 2007-04-16 at 11:49 +0100, michael watson (IAH-C) wrote: > Hi > > Thanks for all your help. If I print out the header line myself, before > anything else is printed out, then for some reason none of the images > are produced. Images are produced dynamically using perl and GD. If I > lea

RE: Malformed header from script

2007-04-16 Thread michael watson \(IAH-C\)
1:32 To: michael watson (IAH-C) Cc: Clinton Gormley; modperl Subject: RE: Malformed header from script On Mon, 2007-04-16 at 11:12 +0100, michael watson (IAH-C) wrote: > That does indeed make the HTML headers come through, however, I get > about 20 "Content-type: text/html" lines i

RE: Malformed header from script

2007-04-16 Thread Clinton Gormley
On Mon, 2007-04-16 at 11:12 +0100, michael watson (IAH-C) wrote: > That does indeed make the HTML headers come through, however, I get > about 20 "Content-type: text/html" lines in my web page because that > print function is used to print out ALL HTML, not just the headers. Then just print the he

RE: Malformed header from script

2007-04-16 Thread michael watson \(IAH-C\)
that should be handling these. So each perl script under /perl should specifically print out a "Content-type: text/html\n\n" line? -Original Message- From: Clinton Gormley [mailto:[EMAIL PROTECTED] Sent: 16 April 2007 10:38 To: michael watson (IAH-C) Cc: modperl Subject: RE:

RE: Malformed header from script

2007-04-16 Thread Clinton Gormley
t; about the special characters? > > I'll get Firefox now.. :) > > Thanks > > Mick > > -Original Message- > From: Clinton Gormley [mailto:[EMAIL PROTECTED] > Sent: 16 April 2007 10:28 > To: michael watson (IAH-C) > Cc: modperl@perl.apache.org > Subject: R

RE: Malformed header from script

2007-04-16 Thread michael watson \(IAH-C\)
get Firefox now.. :) Thanks Mick -Original Message- From: Clinton Gormley [mailto:[EMAIL PROTECTED] Sent: 16 April 2007 10:28 To: michael watson (IAH-C) Cc: modperl@perl.apache.org Subject: RE: Malformed header from script > r is Apache2::RequestRec=SCALAR(0x98d2108) > I was g

RE: Malformed header from script

2007-04-16 Thread Clinton Gormley
> r is Apache2::RequestRec=SCALAR(0x98d2108) > I was given ' Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http://www.w3.org/1999/xhtml"; xml:lang="en-gb" > lang="en-gb"> > > ' > > So, the perl code is using an Apache2::RequestRec object to print out > the he

RE: Malformed header from script

2007-04-16 Thread michael watson \(IAH-C\)
essage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: 13 April 2007 14:08 To: michael watson (IAH-C) Cc: modperl@perl.apache.org Subject: Re: Malformed header from script On 4/13/07, michael watson (IAH-C) <[EMAIL PROTECTED]> wrote: > The script in questi

Re: Malformed header from script

2007-04-13 Thread Perrin Harkins
On 4/13/07, michael watson (IAH-C) <[EMAIL PROTECTED]> wrote: The script in question certainly attempts to print out "Content-type: text/html" and a whole " blah" line, but these don't seem to be coming through Can you show us the code you use to print the header, and the part of httpd.conf whe