BOUNCE htdig: Admin request


owner-htdig@sdsu.edu
Wed, 9 Sep 1998 06:47:03 -0700 (PDT)


>From andrew@contigo.com Wed Sep 9 06:47:00 1998
Received: from grin.shutter.net (root@grin.shutter.net [209.14.1.9])
        by sdsu.edu (8.8.7/8.8.7) with ESMTP id GAA23967
        for <htdig@sdsu.edu>; Wed, 9 Sep 1998 06:46:59 -0700 (PDT)
Received: from grin.shutter.net (root@grin.shutter.net [209.14.1.9])
        by grin.shutter.net (8.9.0/8.9.0) with SMTP id JAA09802;
        Wed, 9 Sep 1998 09:46:24 -0400
Date: Wed, 9 Sep 1998 09:46:24 -0400 (EDT)
From: root <root@grin.shutter.net>
To: Tom Poczman <tomp@tafe.sa.edu.au>
cc: "T's Mailing Lists" <tpo2@spin.ch>, htdig@sdsu.edu
Subject: Re: htdig: virtual hosts
In-Reply-To: <Pine.HPP.3.96.980909183312.7846B-100000@adl0075>
Message-ID: <Pine.LNX.3.96.980909094320.9782B-100000@grin.shutter.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

My thanks especially to Tom Poczman and also to Ralph Jaeger for their
help. In a relatively simple process, I am now able to allow each of my
virtual hosts their own search engine for their site only.

thanks much

Dan Barber

On Wed, 9 Sep 1998, Tom Poczman wrote:

>
> Make duplicates of the following files from the original files to create a
> search database and conf files for each virtual server.
>
> ie call them
>
> ......./bin/rundig_NEWSERVER
> ......./conf/htdig_NEWSERVER.conf
> ......./webroot/search_NEWSERVER.html (where the html search file is)
>
> Make a db dir for the new server ie db_NEWSERVER, and modify all the above
> files to suit the new configs. This is how you can have multiple db's for
> specific areas in your webroot area, or for virtual servers. The only prob
> I can see is that the ....../htdig/common/ dir is just that a common area,
> where all your headers and footers will be the same for any virtual
> server. The only way around this that I can see is to effectively install
> another copy of htdig, in another area and have that common area dedicated
> to the virtual server.
>
> PS - you MUST make a db dir BEFORE you try and run the rundig command to
> create the database, otherwise you will get an error - it doesnt create it
> on the fly as it reads the htdig_NEWSERVER.conf file.
>
> I have mutiple databases on one server, and have a reasonably generic
> "common" area for the headers and footers.
>
> Hope it helps
>
> cheers
> Tom
>
>
>
> On Wed, 9 Sep 1998, T's Mailing Lists wrote:
>
> > On Tue, 8 Sep 1998, root wrote:
> >
> > > Hi,
> > >
> > > My site hosts a large number of virtual sites. I have only recently been
> > > able to get htdig to work on my main host, but can't find any
> > > documentation on how to set it up for use by the virtual hosts.
> > >
> > > I would like to have each host keep its own db files and be searchable
> > > only within its domain. Is this possible without installing htdig for each
> > > site? If anyone could point me in the right direction...
> >
> > As far as I remember you can restrict the search to certain patterns such
> > as http://www.example.com when calling the cgi. Have a look at the docu.
> >
> > *
> > t
> >
> > WANTED: sysadmin-> http://spin.ch/~tpo/joboffer
> > ------------------------------------------------------------------------------
> > Tomas Pospisek - Freelance: Linuxing, Networking
> > http://spin.ch/~tpo/freelance
> > www.SPIN.ch - Internet Services in Graubuenden/Switzerland
> > ------------------------------------------------------------------------------
> >
> > ----------------------------------------------------------------------
> > To unsubscribe from the htdig mailing list, send a message to
> > htdig-request@sdsu.edu containing the single word "unsubscribe" in
> > the body of the message.
> >
>



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:42 PST