LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2004, 06:59 PM   #1
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Rep: Reputation: 30
Question Perl/CGI Problem "Premature end of script headers: countdown.pl"


I have upgraded to RH 9.0 from 7.1. I had the Perl and this script working fine before on 7.1. I have tried everything I can think of. I've changed the permissions, modified the script etc.

Anyway when I open the browser and get the error:

Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: countdown.pl
If you think this is a server error, please contact the webmaster
Error 500

Sat 17 Jul 2004 06:40:41 PM CDT
Apache/2.0.40 (Red Hat Linux)


By the way I've seen many people with the same problem but none of them seem to have solutions that really help.

Any help would be great. If you would like I will post the script here.

Thanks,

Last edited by newuser455; 07-17-2004 at 08:48 PM.
 
Old 07-18-2004, 11:15 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Do you get any error messages in your apache error_log file when you access the page?

What are the current permissions on the file:
ls -l /path/to/countdown.pl

If you can post a copy of the script it would help as well.
 
Old 07-18-2004, 11:47 AM   #3
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30
Sorry, I forgot to say I just decided to forget it and switch back to RH 7.1. Thanks for you help anyway.

Thanks,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Premature end of script headers: CGI fatturi Linux - Newbie 4 07-19-2007 04:55 PM
Premature end of script headers bhomass Debian 1 12-02-2005 05:31 PM
python cgi script and premature end of script headers Neruocomp Programming 1 07-28-2005 11:43 AM
Premature end of script headers webhead Red Hat 5 09-22-2004 01:56 AM
"Premature end of script headers" bugging me ulto Programming 1 04-15-2004 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration