According to Tinni: > In my previous email , I have mentioned, that i am unable to > run 'htsearch' .. But now i could able to execute it...with > the command > > #/full/path/htsearch -c /full/path/htdig.conf > > And also i mentioned in the htdig.conf file the dbpath, bidirpath > etc...where i have kept these files... > > But can any one give me some pointer that how i will mention the path > of the htdig.conf file in the shtml/html page... There is an 'option' > - 'config'.. But i am not understanding how to mention it..
Well, let's assume you're using the htdig316-3.1.6-1.rh9.i386.rpm and htdig316-web-3.1.6-1.rh9.i386.rpm RPM packages from htdig.org. These set CONFIG_DIR at compile time to be /etc/htdig, so htsearch will always look in there for any config file referenced by the "config" input parameter. To this, it appends the ".conf" extension as well, so that an input tag of: <input type="hidden" name="config" value="htdig"> will use /etc/htdig/htdig.conf, while an input tag of: <input type="hidden" name="config" value="mystuff"> will use /etc/htdig/mystuff.conf. If you're OK with putting all your *.conf files in /etc/htdig (or whatever your CONFIG_DIR is set to if you built the software yourself), that's all you need to do. It's only if you need to use a different config directory altogether from htsearch, when called from the HTTP server, that it gets rather tricky, as you can see from http://www.htdig.org/FAQ.html#q5.30 -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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

