I’m having problems getting ht://dig 3.1.6 to work on RedHat Server Enterprise Release 2.1 with Apache.

 

The htsearch program runs fine from the command line, and htdig has obviously indexed the site correctly. However, when I try to use htsearch as the target for a form I get the 500 Internal Server Error. The Apache error_log simply states “Premature End of Script Errors” every time, with no other information provided.

 

I tried the FAQ, including the solution for the Solaris problem, but this doesn’t make any difference. Apache is working fine with other CGIs (including a quick C program I knocked up to test it with a compiled executable).

 

I’ve checked the htdig.conf file, which states all the pathnames as correct to the configuration. However, the db files aren’t appearing in the specified db folder, they are appearing somewhere else instead (inside the htdocs/htdig folder, which has all the images and other essential files in). All file permissions appear to be correct. I noticed htsearch from the command line wasn’t including the header and footer files, so I copied these to the htdocs/htdig folder, and it included them after that. This, however, did not solve the problem for accessing it from the browser.

 

Does anyone have any clues as to what I am doing wrong?

Kind regards,

Rupert Jones
Software Developer

Save9 Limited
Website: http://www.save9.com
Telephone: +44 (0)1723 355999

'A stitch in time saves nine' - innovative e-business solutions.

CONFIDENTIALITY: Unless otherwise agreed expressly in writing by a director of Save9 Ltd, this Email is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have reason to believe that you are not the intended recipient of this Email, please contact the sender immediately.

WARNING: Computer viruses can be transmitted by Email. The recipient should check this Email and any attachments for the presence of viruses. Save9 Ltd accepts no liability for any damage caused by any virus transmitted by this Email. This Email and any attachments may not be copied or forwarded without express written permission of a director of Save9 Ltd. In the event of any unauthorised copying or forwarding, the recipient will be required to indemnify Save9 Ltd against any claim for loss or damage caused by any viruses or otherwise.

DISCLAIMER: Employees of Save9 Ltd are expressly required not to make any defamatory statements and not to infringe or authorise any infringement of copyright or any other legal right by Email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. Save9 Ltd will not accept any liability in respect of such a communication, and the employee responsible will be personally liable for any damages or other liability arising.

CONTRACTS: No employee or agent is authorised to conclude any binding agreement on behalf of Save9 Ltd with another party by Email without express written confirmation by a director of Save9 Ltd.

 

<<image001.jpg>>

<<image002.gif>>

<<image003.gif>>

Reply via email to