Hi,
 
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... ??
 
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:
 
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
 
Thanks for any help!
 
Shams
 

Reply via email to