Apache newbie needs help with GIF files

From: Web Surfer (raisin_at_delete-this-trash.mts.net)
Date: 06/05/04


Date: Fri, 4 Jun 2004 20:34:38 -0500


[This followup was posted to linux.redhat]

My system is Linux Redhat 9 (2.4.20-8) running the Apache web server.

I have a "typical" setup as far as directory structure is concerned :

/var/www/html -- HTML files
/var/www/cgi-bin -- CGI scripts
/etc/httpd/logs -- symbolic link to logfiles directory

I am porting a hockey league website I wrote a while ago to
Linux/Apache. I have placed the CGI scripts for the league in the
directory /var/www/cgi-bin/hockey

My main CGI script is enter_system.pl

When "enter_system.pl" runs the HTML is displayed properly, however the
image displayed at the top of the page is not displayed. I have used
Netscape to "visit" the image and it can be displayed properly.

Upon examination of the Apache error log file I found the following
message at the end of the logfile :

Premature end of script headers: faceoff.gif, referer:
        http://localhost/cgi-bin/hockey/enter_system.pl

I used Perl to verify the syntax of the enter_system.pl is corrct.

So what is the error message trying to tell me ?? Is there a problem
with the GIF file or the script ? This is the same script which ran
succcessfully on another web server.

Any help/hints/tips would be appreciated.



Relevant Pages

  • limited to 5000 socket
    ... I'm trying to get a load of 2000 virtual users connected to a web server, ... when I run the script I'm getting an error message address already in ... I'm running windows 2003 web server edition with apache 2.0.52, ...
    (microsoft.public.windows.server.general)
  • Re: Form Security
    ... After all this, if no error message has been generated, the form contents are emailed to me. ... I'm no Linux guru, so I don't know what someone could do to cause problems with this script, other than spam me. ... What he's proposing is false security - which is worse than no security ...
    (comp.lang.php)
  • RE: Cannot Edit Logion Scripts
    ... remove the script that you would like to edit. ... Please capture a screenshot of the error message received on the client ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Error in script of Internet Explorer
    ... Uncheck the box to Display a notification about every script error. ... Windows Script 5.6 for Windows 2000 and XP ... Error Message When You Browse the Web: An Error Has Occurred in the Script ... Please reply to the newsgroup so others may benefit. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Sound file
    ... There shouldn't be any problems in the limited user accounts. ... The only other problem just about has to be with the attaching of the .wav ... > Common script errors messages can be eliminated by Clicking: ... >> click on the html file we get an error message and the wav file does ...
    (microsoft.public.windowsxp.accessibility)