I'm trying to use a different config file in order to search a different
database than the default. But it seems that I can't stop the default
config file from being read in addition to the new one.
I've created a new config file and new database:
% ls -l /etc/htdig*
-rw-r--r-- 1 web web 8632 May 9 2002 /etc/htdig.conf
-rw-r--r-- 1 web web 8656 Jan 21 19:43 /etc/htdig-newweb.conf
% ls -l /web/htdig
drwxr-xr-x 2 web web 4096 Jan 23 03:05 db
drwxr-xr-x 2 web web 4096 Jan 23 15:29 db-newweb
My search form for the non-default database has this:
<input type="hidden" name="config" value="htdig-newweb">
The problem is not that the config file isn't found, but that
now both config files are read:
Here are the access times before running a search:
% ls -lut /etc/htdig*
-rw-r--r-- 1 web web 8632 Jan 23 15:30 /etc/htdig.conf
-rw-r--r-- 1 web web 8656 Jan 23 15:29 /etc/htdig-newweb.conf
and after:
% ls -lut /etc/htdig*
-rw-r--r-- 1 web web 8632 Jan 23 15:36 /etc/htdig.conf
-rw-r--r-- 1 web web 8656 Jan 23 15:36 /etc/htdig-newweb.conf
Why are *both* conf files being read? That wouldn't be much of a
problem if I wasn't getting results reported from *both* databases...
How can I perform a different search from only one different database?
Thanks...
-glenn
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
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