Find the answer to your Linux question:
Results 1 to 3 of 3
Well, it's time for my annual question in here as no one in IRC had the solution!! I have setup my own cgi irc install, which works fine. The problem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790

    problems in cgi-bin


    Well, it's time for my annual question in here as no one in IRC had the solution!!

    I have setup my own cgi irc install, which works fine. The problem is that the pictures for close/help (in the top right hand corner) dont show. I checked the paths to these, they're ok. So i tried to load a picture, and it gets this:

    Server error!

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

    Error message:
    Premature end of script headers: helpup.gif

    If you think this is a server error, please contact the webmaster.
    Error 500
    jedilinux-uk.homelinux.com
    Mon Nov 21 17:58:34 2005
    Apache/2.0.50 (Linux/SUSE)
    Now i am no expert or anything... but i dont think "helpup.gif" should be seen as a script lol. Anyone know why this could be treated as being a script causing it to act like this? And more importantly, how i can get it to show the pics!
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    *bump*
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Just Joined!
    Join Date
    Oct 2005
    Location
    North Carolina, USA
    Posts
    45
    Your image is probably in a directory that is configured to house scripts, and likely has it's permission bits set to 755.

    In Apache, if directory is specified on a ScriptAlias directive, the server assumes any files in that directory are scripts and tries to execute them.

    You need to move your images elsewhere and update your links accordingly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •