|
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?
|