PDA

View Full Version : cgi - 500 Internal Server Error


mavwbd
01-02-2009, 05:13 PM
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?

wrensoft
01-03-2009, 02:49 AM
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 (http://www.wrensoft.com/zoom/support/faq_cgi.html)

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

mavwbd
01-03-2009, 11:24 PM
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!

wrensoft
01-04-2009, 12:06 AM
This FAQ covers all the common problems and solution related to CGI installation.
Zoom Search - FAQ - Installing the CGI on Apache & IIS (http://www.wrensoft.com/zoom/support/faq_cgi.html)

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?

mavwbd
01-04-2009, 03:12 PM
Ah, yes.
I used Zoom to upload the files for me and it's now working!
Thank you very much.