Re: [htdig] Virtual Host Problems

Subject: Re: [htdig] Virtual Host Problems
From: Geoff Hutchison (
Date: Wed Feb 16 2000 - 18:44:08 PST

At 10:48 AM -0900 2/15/00, Bruce Potter wrote:
>I'm having a problem getting htdig to index all the sites correctly. I've
>found very little documentation on how to handle virtuals, both from the
>config angle as well as cgi implementation area.

This is because there isn't much to it.

>limit_urls_to: ${start_url}
>... and the rest of the other non relevant stuff...
>This seems to only index the main server, not the
>that are linked from I've also tried doing a

This is doing exactly what you told it to do--limit_urls_to is
exactly what it says--the limit of the indexing. So it's currently
set to only index

>but it only seems to return hits from the index... nothing
>from the at all. Can someone send me their htdig.conf where

You probably indexed both. But that doesn't mean both are going to
have the same weightings on searches. But if you're truly worried
about whether you indexed them both, you can add a '-v' (or more if
you like) when calling htdig and you'll see what pages are indexed.

>do I need to set the restrict value to include the name of the virtual

Yup. The restrict field in the HTML form justs makes sure the URLs
match that particular pattern. So if you want to ensure it matches
the *server* as well as the path, you'll need to include the
beginning part of the URL.

-Geoff Hutchison
Williams Students Online

To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Wed Feb 16 2000 - 18:57:54 PST