LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-24-2009, 12:03 AM   #16
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034

@cbtshare:

1. looks like you forgot to close the code tags (post #10)
2. '&subname()' syntax is deprecated; it now means passing a ref to a sub (prob not what you meant) instead of calling a sub directly (that was perl v4 syntax).
Just call the sub by name

subname(arg1, arg2);

3. try

service httpd configtest

to check syntax
 
Old 02-07-2011, 03:17 PM   #17
daywalker_linux
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
cgi-premature_end_of_scirpt_headers

-+ the error
[Mon Feb 07 16:07:40 2011] [error] [client 127.0.0.1] Premature end of script headers: value_parser.pl

-+ the issue
-+ the below line is not correctly printed in your script, it should be like this
-+ either "text/html" or "text/plain"

print "Content-type: text/html; charset=iso-8859-1\n\n";
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
how to mv the files...urgent...urgent manojkarthi Programming 2 07-02-2008 02:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration