Shawn Patton (Shawn@fraservalleymall.com)
Mon, 29 Mar 1999 17:00:06 -0800
Thanks for your help. I am attempting to do as you said with ineffective results.
Here is what I am doing to make only Htsearch.
I edit the Makefile in the Htsearch install directory as follows:
1) Add the following line:
2) Edit CONFIG_DIR in the following line from:
3) Move to the Htsearch source directory and run make on the edited
4) manually cp *new* Htsearch binary to cgi-bin directory.
For some reason it is not recognizing my changes. Would you see what I
am doing wrong?
"Andrew McCarthy (Sysadmin)" wrote:
> On Mon, Mar 29, 1999 at 05:35:56AM -0800, Shawn Patton wrote:
> > Hello,
> > Please help :-)
> > I get the following error:
> > Unable to read configuration file '/usr/home/my_user_space/usr/local/htdig/rm.conf
> > My OS: Virtual BSD 3.0
> > I am on a "virtual server"... not a "virtual host" and therefore
> > I believe this is causing HTSEARCH to not find my configuration
> > files.
> If I understand correctly, what you're saying is that the web server lives in
> /usr/home/my_user_space and thinks that is the root directory. This is usually
> implemented using the command 'chroot()' which fools a program into thinking
> that a different directory is the root directory.
> We have a similar setup on our servers, and the only way I could easily find to work around it was to:
> - Compile the programs with the real directory path and install them
> - Recompile only htsearch, this time with the path it should look for (i.e.
> without the /usr/home/my_user_space bit on the path), then reinstall it
> - Have two htdig config files, the original for htsearch and another for the
> htdig programs that do the indexing.
> It's not particularly elegant, but it was the only way I could make it work.
To unsubscribe from the htdig mailing list, send a message to
email@example.com containing the single word "unsubscribe" in
the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Mon Mar 29 1999 - 18:25:55 PST