I wouldn't know why htsearch would need many of the standard environment variables. I believe I'm doing something similar to what you are looking to do, in which case I hard code request_method to GET and use the perl wrapper to put any form variables entered ( from the standard method=POST ) into the query string. Seems you could set something up for choosing the appropriate config file that way too... i _think_.
domain/script?congif=filename&words=find+me&... Dave ----- Original Message ----- From: "Vsevolod Ilyushchenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 02, 2001 3:53 PM Subject: [htdig] FAQ 4.20 - restricting search? Hi, I have tried to follow the faq 4.20, setting up perl wrappers around htsearch to call it with different config files. The approach mentioned there (setting the environment variable CONFIG_DIR) did not work, so I figured I can add the -c switch to the htsearch call. But I can't figure out how to pass all the other CGI environment variables from my perl script to the htsearch binary. Any ideas? Thanks, Simon -- Simon (Vsevolod ILyushchenko) [EMAIL PROTECTED] http://www.simonf.com [EMAIL PROTECTED] "A man who feels himself a citizen of the world whose loyalty is to the human race and to life, rather than to any exclusive part of it; a man who loves his country because he loves mankind, and whose judgement is not warped by tribal loyalties." Erich Fromm _______________________________________________ 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 _______________________________________________ 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

