Subject: [htdig3-dev] re - htdig
From: Doug Finch (firstname.lastname@example.org)
Date: Fri Nov 24 2000 - 08:31:56 PST
Thank you for your fast response to my questions. I am afraid that I am still in the dark about several things. I have made a mess of this whole set up. I have htdig running on my machine at home and it works fine - perfect even. I just cannot seem to make everything work correctly on this virtual server. I changed more directory paths around and when I make install, I get errors regarding /usr/bin/ directories not existing. I do not have root access on this server and the company that runs the server does not offer htdig. I am new to Linux and htdig and apologize for the continuing interruption of your valuable time. I was attempting to implement the changes that you suggested and when I got to the part about
<from your words below>
"Finally, you'll need to move the opt/www/htdocs/htdig directory to a place in your virtual server's DocumentRoot directory, so that it's accessible from the URL "/htdig/". This is for all the star, button and logo image files that htsearch will include in result pages. If you want to use a different directory name, it gets a bit more complicated."<end>
I am still unable to gain the access to the DocumentRoot. Maybe I am misunderstanding what you are asking for - the server is Apache.
On a different thread, what would it take for this company to set up htdig and offer it to their virtual servers? They have many thousands of sites hosted on several servers. Is it possible to do this with htdig? If it is and I can point them in the right direction that would be wonderful.
Thank you again,
> -----Original Message-----
> From: Gilles Detillieux [mailto:email@example.com]
> Sent: Thursday, November 23, 2000 10:54 AM
> To: Doug Finch
> Cc: firstname.lastname@example.org
> Subject: Re: [htdig3-dev] virtual server install
> According to Doug Finch:
> > I am trying to install htdig (latest version downloaded
> yesterday) onto a
> > virtual server (123hostme) and do not have root permissions. I
> found all of
> > this out (I am also fairly new to Linux) when it wanted to
> install in the /opt
> > directory and I was unable to create that directory. I went to
> the CONFIG file
> > and changed the paths to reflect some directories (from the
> outermost part
> > of my home directory) that I had made in hopes of mirroring the
> structure of
> > htdig. I created (in my home directory) opt/www/ and from
> there htdig created a
> > "cgi-bin" "htdig" and "htdocs" directories with stuff in each.
> I thought that
> > I was home free and when I ran rundig, it told me that it
> indexed "x" number of
> > pages. Problem now (until I find more) is that on the
> search.html page, it
> > wants to go to /cgi-bin/htsearch to do its crawling for pages
> and I cannot get
> > anything to work right in that html file. I have tried to
> place my entire file
> > path from my home directory and it did not work. I don't know
> what to do with
> > it. Any help would be much appreciated.
> You need to place the htsearch executable into a directory from which
> you can run CGI programs, and possibly add a .cgi suffix to it if that's
> what the server requires. Your web hosting company should provide you
> with instructions on how to set up CGI programs.
> Next, you need to change the action="..." parameter in your search.html
> form, so that it refers to the correct URL for your htsearch program,
> with the added suffix if you needed to add one. In a typical setup, you
> put htsearch in the cgi-bin directory under the web server's ServerRoot
> directory, or wherever the ScriptAlias for /cgi-bin is defined, and
> the default path in the search.html, /cgi-bin/htsearch, will work fine.
> In a virtual hosting environment, or in any other atypical setup, this
> may need to change.
> Finally, you'll need to move the opt/www/htdocs/htdig directory to a
> place in your virtual server's DocumentRoot directory, so that it's
> accessible from the URL "/htdig/". This is for all the star, button
> and logo image files that htsearch will include in result pages. If you
> want to use a different directory name, it gets a bit more complicated.
> (Note that ServerRoot, ScriptAlias & DocumentRoot refer to Apache
> configuration settings, and different terms may apply if your host uses
> a different server package.)
> See also http://www.htdig.org/FAQ.html#q5.19
> and http://www.htdig.org/FAQ.html#q4.16
> Gilles R. Detillieux E-mail: <email@example.com>
> Spinal Cord Research Centre WWW:
> Dept. Physiology, U. of Manitoba Phone: (204)789-3766
> Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Nov 24 2000 - 08:36:11 PST