Subject: Re: [htdig3-dev] re - htdig
From: Gabriele Bartolini (firstname.lastname@example.org)
Date: Fri Nov 24 2000 - 10:58:34 PST
><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.
I think you need to know these couple things from the company you are hosted:
- where your document root is located in the file system (and you must
have the right permisisions to work);
- if you have a directory that's been setup for running CGI script, as
Gilles said (usually it's in a /cgi-bin/ directory)
- A directory where you can put htdig package and the database(s) you
created and, the most important thing, that has the right permissions for
the user with which the HTTP server is running. So, for example, if you put
everything in your home directory under opt/htdig, you must be sure that
the user the web server runs as (for example webuser) can access that
directory (I strongly doubt it, by default).
But, I believe you must ask the company about this, by yourself you can't
do anything ... :-(
I am sure they can help you easily.
For example, if your URL is www.pippo.com, there must be a directory in the
file system which corresponds to the DocumentRoot of your virtual host. Let
me explain better: assume you have your web server's document root in
DocumentRoot means that when people ask for www.pippo.com/index.html, the
HTTP server gives them back this page:
/web/vh/www.pippo.com/htdocs/index.html . That's not always true, but it
can help you understand. So you have to place the htdig directory
containing images etcetera in here. But they have to tell you whre your DR is.
Suppose they gave you a cgi-bin directory with execution allowed in
/web/vh/www.pippo.com/cgi-bin . You need to put the 'htsearch' executable
>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.
Of course. They can do it in many ways. It may depend on how many virtual
hosts they have set up (better, how many documents they all contain). There
are lots of options to follow, and the first that comes up in my mind is to
keep all the documents in a machine in different databases, one for each
virtual host and let you use the same cgi-script and ht://Dig package with
different config files.
I think it's feasible, but it depends on the intentions of the company and
on the characteristics of the whole system: and depending on that, they
can choose the right setup. Just think they are not interested in
installing it: they can help you the same, though.
Probably Gilles and Geoff can help you in a better way, but as far as I
know, they could do it.
Hope this can help you.
-- Gabriele Bartolini, Web Programmer email@example.com | http://space.tin.it/io/gabrbart "At my signal, unleash hell" - Maximus Decimus Meridius
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Nov 24 2000 - 11:06:21 PST