Re: Premature end of script headers

2008-11-16 Thread Adam Jimerson
"Mike Williams" wrote: >> [EMAIL PROTECTED] wrote: >> > Hello, >> > >> > i need to know the reasons for this error "Premature end of script >> > headers" i checked with my http header content-type:text/html ,but i >> > ha

Re: Premature end of script headers

2007-06-13 Thread Mike Williams
On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > i made changes in httpd.conf file as you mentioned , here is mine AllowOverride None Options None Order allow,deny Allow from all Options ExecCGI AddHandler cgi-script.exe Saran, There is a typo in th

Re: Premature end of script headers

2007-06-13 Thread saran . jegan
On Jun 12, 7:54 pm, [EMAIL PROTECTED] (Mike Williams) wrote: > Saravanan, > > Hi there. Please do a reply to all to keep this on the list. Someone > else may be able to help, and someone else may be helped in the future > if it lands in the list archives. > > On 6/12/07, saravanan Jagadeesan <[EM

Re: Premature end of script headers

2007-06-13 Thread saran . jegan
Mike, > Hi there. Please do a reply to all to keep this on the list. Someone > else may be able to help, and someone else may be helped in the future > if it lands in the list archives. Sorry for that ... am using windows XP (windows 5.1) , am changed the http.conf file as per you

Re: Premature end of script headers

2007-06-12 Thread Mike Williams
Saravanan, Hi there. Please do a reply to all to keep this on the list. Someone else may be able to help, and someone else may be helped in the future if it lands in the list archives. On 6/12/07, saravanan Jagadeesan <[EMAIL PROTECTED]> wrote: Mike, Thanks for your info mike , i g

Re: Premature end of script headers

2007-06-08 Thread Mike Williams
ng the same error (500) includinghello world my web server is apache 2.2.4 These are the lines i found in my error-log [Thu Jun 07 11:27:17 2007] [error] [client 192.168.10.160] Premature end of script headers: hello.exe, referer: http://192.168.10.160/hello.html by

Re: Premature end of script headers

2007-06-05 Thread Mike Williams
[EMAIL PROTECTED] wrote: > Hello, > > i need to know the reasons for this error "Premature end of script > headers" i checked with my http header content-type:text/html ,but i > had not solved yet.. Often this happens when some error occurs in your code before you

Re: Premature end of script headers

2007-06-05 Thread Sean Davis
[EMAIL PROTECTED] wrote: > Hello, > > i need to know the reasons for this error "Premature end of script > headers" i checked with my http header content-type:text/html ,but i > had not solved yet.. Check your error_log file on your server to see if you are generatin

Premature end of script headers

2007-06-05 Thread saran . jegan
Hello, i need to know the reasons for this error "Premature end of script headers" i checked with my http header content-type:text/html ,but i had not solved yet.. let me know your suggestions thanks for your time -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: Premature end of script headers

2005-02-08 Thread Sethi, Pradeep
esday, February 08, 2005 10:28 AM To: 'vishwas bhakit'; beginners-cgi@perl.org Subject: RE: Premature end of script headers vishwas bhakit wrote: > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the

RE: Premature end of script headers

2005-02-08 Thread Bob Showalter
vishwas bhakit wrote: > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. When the webserver runs your CGI script, it parses the output, looking for the MIME headers, followed by a bla

Re: Premature end of script headers

2005-02-08 Thread Lawrence Statton
> --0-533587995-1107883018=:92269 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. &g

RE: Premature end of script headers

2005-02-08 Thread Moon, John
Subject: Premature end of script headers hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Have you tried to execute the script from the command line? That is sometimes helpful in finding the error... jwm -- To

Premature end of script headers

2005-02-08 Thread vishwas bhakit
hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Thnx in advance Yahoo! India Matrimony: Find your life partneronline.

Re: Premature end of script headers

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, vishwas bhakit wrote: > I am getting [the] following error. > > Premature end of script headers > > Can anybody [please] tell me > what is the cause of this[question mark] > > [Thanks] in advance As noted in the last reply to you, it i

Re: please help to solve the problem: "Error message: Premature end of script headers"

2004-07-09 Thread Wiggins d Anconia
> Hi all, > > I have received the respond from the Apache stated that: > > "The server encountered an internal error and was unable to complete your request. > > Error message: > Premature end of script headers: testing.cgi > > If you think this is

Re: please help to solve the problem: "Error message: Premature end of script headers"

2004-07-09 Thread Sean Davis
all, > > I have received the respond from the Apache stated that: > > "The server encountered an internal error and was unable to complete your > request. > > Error message: > Premature end of script headers: testing.cgi > > If you think this is a server err

please help to solve the problem: "Error message: Premature end of script headers"

2004-07-09 Thread nobody
Hi all, I have received the respond from the Apache stated that: "The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: testing.cgi If you think this is a server error, please contact the webmaster. " P

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-20 Thread Tim Blanchard
he only filesystem > both OS's play nicely with). I keep the data that I want shared stored > on this FAT32 partition, including all the files for my websites. > Whenever I try to access a script off of the FAT32 partition, I get a > 'Premature end of script headers' erro

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-18 Thread zentara
em >both OS's play nicely with). I keep the data that I want shared stored >on this FAT32 partition, including all the files for my websites. >Whenever I try to access a script off of the FAT32 partition, I get a >'Premature end of script headers' error message. I can

Premature end of script headers Linux with Fat32 filesystem

2003-08-14 Thread Tim Brom
this FAT32 partition, including all the files for my websites. Whenever I try to access a script off of the FAT32 partition, I get a 'Premature end of script headers' error message. I can copy the script verbatim onto the ext3 filesystem and it works fine, and it works fine on my we

RE: The very un-useful 'premature end of script headers' error message

2003-04-02 Thread Scot Robnett
Not really. If your form allows uploads, your form allows uploads. That's where DoS comes into play. Disguising the location of your code is a start, but you still have to figure out what you're going to do if someone tries to paste rogue code into your form or hit you with an obnoxiously large upl

Re: The very un-useful 'premature end of script headers' error message

2003-04-01 Thread Cool Hand Luke
> The answer to your question is: Be afraid, be very afraid. A wiley cracker > may be able to run system commands if you allow him/her to upload code. Even > without knowing that much, they could simply create a script that generates > a big enough upload to cause DoS (denial of service) on your se

Re: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread Octavian Rasnita
y's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Scot Robnett" <[EMAIL PROTECTED]> To: "Cool Hand Luke" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 10:57 PM Subject: RE: The very un-u

RE: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread Scot Robnett
: Monday, March 31, 2003 1:38 PM To: fliptop Cc: [EMAIL PROTECTED] Subject: Re: The very un-useful 'premature end of script headers' error message > just because you don't need to parse any binaries doesn't mean your users > won't try to submit one. > > don&#x

Re: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread Cool Hand Luke
> just because you don't need to parse any binaries doesn't mean your users > won't try to submit one. > > don't forget anyone can create any kind of form that posts to your cgi. > so there's nothing stopping me from creating a form like this: > > http://coolhandlukesite/cgi-bin/script.cgi"; > enc

Re: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread fliptop
On Sun, 30 Mar 2003 at 22:43, Cool Hand Luke opined: [reply cc'd to group] CHL:> and to offer one example as an answer to your question, how would you CHL:> parse a binary file uploaded to your script using your split(/[&;]/, CHL:> $submission) code? CHL: CHL:Not parsing any binaries, just simple

Re: The very un-useful 'premature end of script headers' error message

2003-03-30 Thread fliptop
On Sun, 30 Mar 2003 at 12:53, Cool Hand Luke opined: CHL:Now, why not? Also, notice that the code I used is not what you have quoted. CHL:Really am curious as to why not, though. because someone else has already written a pretty solid module for parsing query strings, and it's been tried and tes

Re: The very un-useful 'premature end of script headers' error message

2003-03-30 Thread Cool Hand Luke
uot;Cool Hand Luke" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 5:44 PM Subject: Re: The very un-useful 'premature end of script headers' error message > >>>>> "Cool" == Cool Hand Luke <[EMAIL PROTECTED]> writes: > > Cool> Hello All,

RE: The very un-useful 'premature end of script headers' error message

2003-03-29 Thread Bill Burke
t: Re: The very un-useful 'premature end of script headers' error message On Fri, Mar 28, 2003 at 09:33:19PM -0500, Bill Burke ([EMAIL PROTECTED]) said something similar to: > I added a chat room at my site http://www.speakerscorner.us . You are > welcome there and we can discuss PER

Re: The very un-useful 'premature end of script headers' error message

2003-03-29 Thread Kevin Meltzer
nt to miss anything That's what IRC is for :) Cheers, Kevin > > -Original Message- > From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2003 8:44 PM > To: [EMAIL PROTECTED]; Cool Hand Luke > Subject: Re: The very un-useful 'p

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
. Schwartz [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:34 AM To: Scot Robnett Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message >>>>> "Scot" == Scot Robnett <[

Re: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Randal L. Schwartz
> "Scot" == Scot Robnett <[EMAIL PROTECTED]> writes: Scot> Somebody better tell Nathan Patwardhan, Ellen Siever, & Stephen Scot> Spainhour then. I'm looking at the 2nd edition of PERL IN A Scot> NUTSHELL (and that is exactly how it's printed) right now. I don't have a copy of the book at han

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
very un-useful 'premature end of script headers' error message Somebody better tell Nathan Patwardhan, Ellen Siever, & Stephen Spainhour then. I'm looking at the 2nd edition of PERL IN A NUTSHELL (and that is exactly how it's printed) right now. I knew the differe

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Scot Robnett
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:18 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message >>>>> "Bill" == Bill Burke <[EMAIL P

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
ay, March 29, 2003 12:18 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message >>>>> "Bill" == Bill Burke <[EMAIL PROTECTED]> writes: Bill> Thanks for the edification. Yo

Re: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Randal L. Schwartz
> "Bill" == Bill Burke <[EMAIL PROTECTED]> writes: Bill> Thanks for the edification. You have been one of the most prolific Bill> contributors to the group, so I take no umbrage. Truly, you write it as Bill> perl, but the books label it PERL (Practical Extraction and Reporting Bill> Language).

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
not your expertise. -Original Message- From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:29 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message >>&g

Re: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Randal L. Schwartz
> "Bill" == Bill Burke <[EMAIL PROTECTED]> writes: Bill> I added a chat room at my site http://www.speakerscorner.us . You are Bill> welcome there and we can discuss PERL in real time. Don't quit the user Bill> group though, you won't want to miss anything And there's no such thing as "PERL".

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
28, 2003 8:44 PM To: [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message >>>>> "Cool" == Cool Hand Luke <[EMAIL PROTECTED]> writes: Cool> Hello All, Cool> I think I figured it out

Re: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Randal L. Schwartz
> "Cool" == Cool Hand Luke <[EMAIL PROTECTED]> writes: Cool> Hello All, Cool> I think I figured it out, (so far). I 'm pretty sure that it has to do Cool> with perl 5.003 disliking the looping with the "my $pair" syntax. Cool> As a work around, I changed this Cool> foreach my $pai

Re: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Cool Hand Luke
EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 1:02 AM Subject: Re: The very un-useful 'premature end of script headers' error me ssage > > 1. You *MUST* examine the server's error log. &quo

Re: The very un-useful 'premature end of script headers' error me ssage

2003-03-28 Thread Cool Hand Luke
> 1. You *MUST* examine the server's error log. "Prematue end of script > headers" is just a generic message put out by Apache when it couldn't find > the response header your script should have put out. Any error messages > output by Perl or your script will be found in the error log. Until you ca

RE: The very un-useful 'premature end of script headers' error me ssage

2003-03-27 Thread Bob Showalter
Cool Hand Luke wrote: > Hi there, > I am having the toughest time trying to run perl scripts on this > Stronghold Apache SSL server I am working with for my company. > Everything I run returns the same 'premature end of script headers' > error message. This has happen

Re: The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Cool Hand Luke
nything in the error logs. Thanks! Luke - Original Message - From: "Dennis G. Wicks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 7:04 PM Subject: Re: The very un-useful 'premature end of script headers' error message >

Re: The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Dennis G. Wicks
gt;, [EMAIL PROTECTED] > Subject: Re: The very un-useful 'premature end of script headers' error > message > > Hi Scott, > Thanks for the reply. I tried using your code (I'm a beginner with the > cgi module so please let me know if I made any obvious errors) and

Re: The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Cool Hand Luke
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 4:13 PM Subject: RE: The very un-useful 'premature end of script headers' error message > A couple of things, and I don't know if this affects Stronghold and I'm not > sure with which bro

RE: The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Scot Robnett
: Cool Hand Luke [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 5:52 PM To: [EMAIL PROTECTED] Subject: Re: The very un-useful 'premature end of script headers' error message BTW, that's Stronghold/Apache version 1.3.4 if that helps... Thanks Again Luke - Original Messag

Re: The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Cool Hand Luke
BTW, that's Stronghold/Apache version 1.3.4 if that helps... Thanks Again Luke - Original Message - From: "Cool Hand Luke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 3:41 PM Subject: The very un-useful 'premature end of scri

The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Cool Hand Luke
Hi there, I am having the toughest time trying to run perl scripts on this Stronghold Apache SSL server I am working with for my company. Everything I run returns the same 'premature end of script headers' error message. This has happened with every script I've run except the m

RE: Premature end of script headers

2003-03-24 Thread Dennis G. Wicks
Greetings; That will not cause the problem using Apache and IE 6.0 It might in other combinations, but generally spaces are not significant if other punctuation is doing the job. Check the error logs for file not found which is generally a permissions problem. Also, for a valid path-to-perl in t

Re: Premature end of script headers

2003-03-24 Thread Ovid
Hi Kim, I hope you don't take any of this personally. It's certainly not meant that way. --- Kim Forbes <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl-w There should be a space after the -w. > print "Content-type:text/html\n\n"; There should be a space after the colon. This is one of the reas

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Yes, but it's not correct, there's your premature end of script header right there. You have: print "Content-type:text/html\n\n"; It should be: print "Content-type: text/html\n\n"; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, It appears to be the header issue I mentioned before. Before print

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
ent: Monday, March 24, 2003 10:50 AM Subject: RE: Premature end of script headers > Kim, > > If you're trying to get the results to print in a browswer, you have to send > the content type to the browser in the headers. Did you do either of these > things prior to whatever r

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
Sure, Here is the code. When I tried it out at home, I uploaded it to Tripod (The free web-creation site.) I must add that I tested everything, but the mail portion of the program (Tripod requires a special Tripod Mail module that I felt was too much work for what I was trying to do. I may be wron

Re: Premature end of script headers

2003-03-24 Thread Ovid
the cgi-bin folder. Now I get a "Premature end of script headers" message. Can > anyone tell me > more about this error message and reasons for it appearing. Hi Kim, Could you please show us the code? Also, when you say you tried it out at home, did you run it from a command line or

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, If you're trying to get the results to print in a browswer, you have to send the content type to the browser in the headers. Did you do either of these things prior to whatever routine prints your results? use CGI; $query = new CGI; print $query->header; or print "Content-type: tex

Premature end of script headers

2003-03-24 Thread Kim Forbes
Hello, I created my first Perl script from book and internet sources. I tried it out at home and it worked fine. I then uploaded it to work's Apache server, changed the permissions, and put it in the cgi-bin folder. Now I get a "Premature end of script headers" message. Can

premature end of script headers

2003-02-28 Thread fudge714
when running my script from the command line, it generates the html fine, however when I upload it to my hosters' server (apache on linux), I get an internal server error. when checking the log, I find: "premature end of script headers" and "no such file or directory"

RE: Premature end of script headers

2003-02-06 Thread Bob Showalter
[redirected to beginners-cgi list] zegdatwel wrote: > hi, > > "Premature end of script headers" > > what can this mean...it's in the error log. When does this > happen? I got error 500 when executing script. It means your script ended (normally or abnormal

Premature end of script headers -- solved

2003-01-12 Thread Rob Richardson
Greetings! I found the problem. In one execution path, my script has the following steps: $month = param('month'); $day = param('day'); $year = param('year'); $position = param('position'); $indmonth = param('indmonth'); $selection = param('selecti

Re: Why "Premature end of script headers"?

2002-07-15 Thread perl-dvd
RE: Why "Premature end of script headers"? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 12:23 PM > To: 'Octavian Rasnita'; [EMAIL PROTECTED] > Subject: Re: Why "Premature end of script

RE: Why "Premature end of script headers"?

2002-07-15 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 12:23 PM > To: 'Octavian Rasnita'; [EMAIL PROTECTED] > Subject: Re: Why "Premature end of script headers"? > > > > Probably your web se

Re: Why "Premature end of script headers"?

2002-07-15 Thread perl-dvd
t; <[EMAIL PROTECTED]> To: "'Octavian Rasnita'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 15, 2002 9:28 AM Subject: RE: Why "Premature end of script headers"? > -Original Message- > From: Octavian Rasnita [mailto:[EMA

Re: Why "Premature end of script headers"?

2002-07-15 Thread Lisa Nyman
ript dies and the only error I get in the log file is: > [Mon Jul 15 14:44:48 2002] [error] [client 127.0.0.1] Premature end of > script headers: clean.pl > > #!/perl/bin/perl -w > > print "Content-type: text/html\n\n"; I'm not sure why you are doing this. You nev

RE: Why "Premature end of script headers"?

2002-07-15 Thread Bob Showalter
> -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 8:18 AM > To: [EMAIL PROTECTED] > Subject: Why "Premature end of script headers"? > > > Hi all, > > I've made a little script tha

Why "Premature end of script headers"?

2002-07-15 Thread Octavian Rasnita
to the new file, the script dies and the only error I get in the log file is: [Mon Jul 15 14:44:48 2002] [error] [client 127.0.0.1] Premature end of script headers: clean.pl I've checked the original file to see if there are some strange characters in that line, or in the next one, but