On Thu, 11 Nov 2004 21:57:30 -0500 "Rob Ramsey" <[EMAIL PROTECTED]> wrote:
> HTDIG version is unknown. Try htsearch -h Yes, I know -h not actually an option, but it does get the result desired ;-) > For some reason it installed the files in folders that do not seem to be > typical according to all documentation. That's normal for distro rpms. And different for each distro of course. > With only a few problems I was able to modify htdig.conf and the rundig > script and get rundig to execute creating a searchable index. Exactly what mods did you have to make? The key to the problem might be applying those same mods to htsearch. > I ran htsearch from the command line and bingo results look good. > > Now I attempt to use search.html and nothing works. Running from the command line is a very different case to running by order of a remote browser on the net. For one thing Apache can be set up to change the run environment, and htsearch itself changes behaviour. For example: you cannot use the "-c configfile" option running directly as cgi, you need a wrapper script. > I cannot get past the Premature end of script headers error. Followed > by file does not exist /home../500.shtml. (this is all the information > the error_log file shows) The second error means that Apache cannot find the display page that tells you there was an problem with the script. Ignore it. The first message could mean anything from "Apache couldn't find the program", to "nothing returned" to "error returned". Have you verified the basic operation of cgi in general by dropping a little perl script into /usr/bin <<Arrghh! see below!>> and checking that it can be run from a form? > "ScriptAlias created for apache /htdig-cgi/ /usr/bin/" I do not think this is a good idea! It means that anything in /usr/bin can be run from outside. A cgi binary directory should have *only* those executables that have to be run as cgi, and IMO you should be pretty paranoid about what they do. Mike -- Mike Causer Email - mailto:[EMAIL PROTECTED] GPG KeyID 1C2DDA07 WWW - http://www.mikecauser.com Flood the fen again! - Wicken Fen enlargement - http://www.wicken.org.uk ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

