PassMark Logo
Home » Forum

cgi - 500 Internal Server Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mavwbd
    Junior Member
    • Dec 2008
    • 5

    #1

    cgi - 500 Internal Server Error

    I am getting following error under servers logs files.
    --------------
    Premature end of script headers: /home/******/public_html/posts-test/search/search.cgi
    ---------------
    The script is encoded and I am not able to check the exact reason for the errors.
    search.cgi is set to 755 so I'm not sure why I'm getting this problem!

    Any ideas?
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    The script is compiled (from C++ code). Not really encoded in the sense that you are refering to.

    This FAQ covers all the common problems and solution related to CGI installation.
    Zoom Search - FAQ - Installing the CGI on Apache & IIS

    Note also that the ASP and PHP scripts are easier to install than CGI, if your server allows that option.

    Comment

    • mavwbd
      Junior Member
      • Dec 2008
      • 5

      #3
      I had been using the javascript version but I need to index over 65,000 pages.
      I have set the script alias for cgi like the FAQ says; including the permissions change, but still not working!
      I have tried to manually execute it and it is giving "Segmentation fault (core dumped)" error.

      This is a bit of a puzzle!

      Comment

      • David
        Administrator
        • Dec 2004
        • 4714

        #4
        This FAQ covers all the common problems and solution related to CGI installation.
        Zoom Search - FAQ - Installing the CGI on Apache & IIS

        You need to read it in detail.

        For example did you upload in FTP binary or ASCII mode?
        Are you using the Linux CGI or the Windows CGI?

        Comment

        • mavwbd
          Junior Member
          • Dec 2008
          • 5

          #5
          Ah, yes.
          I used Zoom to upload the files for me and it's now working!
          Thank you very much.

          Comment

          Working...