On Thu, 8 Feb 2001, Olivier PRENANT wrote:

> Hi all,
>
> I'm new to the list but have been using ht://dig since a few years.
>
> I'm now running htdig on UnixWare 7.
>
> The problem I face is that:
>
> I want to rewrite http://www.pyrenet.fr/index_rech.php/* to
> http://www.pyrenet.fr/index.php/*
>
> The reason is that the true site is quasi-infinite and htdig can't index
> it. So I made another start point for htdig with all menus closed. But
> when links are shown by htsearch, I want them to appear on the
> "real" start point.
>
> So far I've tried sevral things like:
>
> url_parts_aliases: http://www.pyrenet/index_rech.php*site
> http://www.pyrenet.fr/index.php*2
>

To get this to work, you need two seperate conf files, one that you use
with rundig, one that you use for htsearch.

In dig.conf:
        url_part_aliases:       http://www.pyrenet.fr/index_rech.php/ *1

In search.conf
        url_part_aliases:       http://www.pyrenet.fr/index.php/ *1

You should run htdig with -i to make new databases after this
change.

Good Luck,

Bill Carlson
-- 
Systems Programmer    [EMAIL PROTECTED]    |  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics        |


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
Information: http://lists.sourceforge.net/lists/listinfo/htdig-general
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to