On Mon, 27 Mar 2006 09:33:29 +0100 Chuck Amadi Systems Administrator <[EMAIL 
PROTECTED]> wrote:

> Unable to read configuration file
> 
> I am running a mod_chroot apache 2 environment and I am aware that my
> Apache 2 Document Root directive is pointing to a specific directory and
> thus Chroot Dir is thus pointing to my websites where I have my htdig
> files.

If you have the config in a different directory to the one that htdig
was complied for, you /must/ put the name of the config file in the form
data, even if it is the default name.  For example:
   <form method="get" action="/cgi-bin/htsearch.sh"
      <input type="hidden" name="config" value="htdig">

In this example I have used a wrapper shell script so that the
non-standard HTBINDIR and CONFIG_DIR are set properly before running
htsearch, which you might also need to consider.


Mike
-- 
Mike Causer                          Email - mailto:[EMAIL PROTECTED]
GPG KeyID 1C2DDA07                       WWW - http://www.mikecauser.com
Flood the fen again! - Wicken Fen enlargement - http://www.wicken.org.uk


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to