LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-14-2001, 06:41 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
/var/log/httpd/error_log:Premature end of script headers!


hi all...
recently i tried to set up a squid cache manager (cachemgr.cgi) in redhat 6.1 ...i put the cgi program in user squid' home directory (/home/student/squid/public_html/cachemgr.cgi).. added this in access.conf:

<Directory /home/student/*/public_html>
Options Indexes Includes FollowSymlinks ExecCGI
order allow,deny
allow from all
</Directory>

then restarted apache...but when i tried to access the page via netscape, i got this message:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, suzana@kym.edu.my and inform them of the time the error occurred, and anything you
might have done that may have caused the error.

More information about this error may be available in the server error log.

i've checked the files permission ....755 for the directories and files, but still couldnt make it work. I checked my /var/log/httpd/error_log and got this:

....[error][client x.x.x.x]Premature end of script headers:/home/student/squid/public_html/cachemgr.cgi

what could have caused this?when i moved the cachemgr.cgi to /home/httpd/html/cachemgr.cgi..it worked! Now this is confusing...i hope somebody can shed a light on this...THANKS!!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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
Premature end of script headers webhead Red Hat 5 09-22-2004 01:56 AM
Perl/CGI Problem "Premature Premature end of script headers: countdown.pl" newuser455 Linux - Software 2 07-18-2004 11:47 AM
Premature End of Script Headers (Error 500) bsdb3 Red Hat 5 05-06-2004 11:55 AM


All times are GMT -5. The time now is 07:06 PM.

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
Open Source Consulting | Domain Registration