Mike,

Thanks for your help

>> HTDIG version is unknown.

>Try   htsearch -h
Done version is 3.1.6

>> 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 modified the values for DBDIR, COMMONDIR, and BINDER in rundig to
match the current installation folders.  If I need to make these changes
to htsearch where/how do I do this please.


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

Ok, I may need to tackle this option later. For now the default config
file should work? Yes or No?

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

No, I am not sure if I am capable of doing this.  But to address your
concern over the actual location of the script and the ScriptAlias I
created, why isn't htsearch installed in the cgi-bin directory?  Should
I write a script to call htsearch and place that in the cgi-bin
directory. If so is there an example somewhere?  I do not want any
security holes on the server.  


> "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.

Thanks so much.

Rob





-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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

Reply via email to