On Friday, November 15, 2002, at 05:15 AM, shams khan wrote:

I have a couple of questions relating to creating multiple indexes / databases.

1) When creating a second index, I obviously change the "prefix" path (so that all the files get installed to a different directory), but I keep the IMAGE_DIR the same (as I am not too bothered about images being overwitten)..... but what about the BIN_DIR.� Can i overwrite the binaries from the first htdig install with binaries from the second ?� My concern is that other variables set in the CONFIG file gets hard coded into the binaries... i fthis is the case then I will need to set the BIN_DIR to different folders for seperate HtDig installations... ??
I am not sure that you gain much by setting up separate directories for the binaries. You can always explicitly specify the config file to be used. But other than wasted disk space and additional maintenance, I don't suppose it hurts anything.

2) I would like to create 3 seperate databases for 3 different folders on our webserver.� I don't want to use 1 database with exclude and restrict variables, because I've read in the FAQ that they can be overridden!

So... can someone advise me whether there is any security risk with the following indexes / settings:
It depends on what you mean by security risk. The only reason I see for multiple htsearch binaries is to prevent one from using another's config file. However, if you turn around and put all of the binaries in the same directory with predictable names, I am not sure that you gain anything.

The three htdig installations will be installed to seperate folders within /var/www/html/sme/

The search forms for each installation will also reside in seperate directories, and each search form will call a seperate htsearch binary

The htsearch binaries will be placed within the /var/www/html/cgi-bin/ folder

HTML������ /var/www/html/sme/site1/site1search.html
CONF�������/var/www/html/sme/site1/htdig/htdig.conf
BINARY��� /var/www/html/cgi-bin/htsearch1

HTML��� ��� /var/www/html/sme/site2/site2search.html
CONF�������/var/www/html/sme/site2/htdig/htdig.conf
BINARY��� /var/www/html/cgi-bin/htsearch2

HTML��� ��� /var/www/html/sme/site3/site3search.html
CONF�������/var/www/html/sme/site3/htdig/htdig.conf
BINARY��� /var/www/html/cgi-bin/htsearch3
Jim



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to