Bill Carlson (email@example.com)
Wed, 29 Sep 1999 17:02:09 -0500 (CDT)
On Tue, 28 Sep 1999 firstname.lastname@example.org wrote:
> Sorry, if this topic is discussed various times already, but digging thru
> the mail archive didn't bring me any further.
> I simply don't understand the dokumentation for url_part_aliases.
> I made an index with htdig and when I search it, it returns my machinename
> in the URLs. Works fine lokally, but unfortunately no other host in the LAN
> knows my name and can access my apache webserver only thru the IP.
> So I would like htdig to put the IP in the URL whenever it encounters the
> name in the index-Database.
> Putting the following 2 lines in my htdig.conf simply doesn't work:
> url_part_aliases: http://myname/
> I understood the documentation in a way that the first url_part_aliases -
> line vcontains the from-part and the second the to-part. Obviously I'm
> wrong, but what would be right?
> Is it possible to change the URLs on the fly or do I have to rebuild my
> database? How is that done?
This one is not covered by the docs, though I understand 3.2 will have
To get this to work requires 2 different conf files. One conf is used when
digging, the other is used when searching. The only difference between the
2 file would be the url_part_aliases and would run like this:
url_part_aliases: http://myname/ *1
url_part_aliases: http://184.108.40.206/ *1
Think of the *1 as a place holder which is set when digging and replaced
Systems Programmer email@example.com | Opinions are mine,
Virtual Hospital http://www.vh.org/ | not my employer's.
University of Iowa Hospitals and Clinics |
To unsubscribe from the htdig mailing list, send a message to
firstname.lastname@example.org containing the single word unsubscribe in
the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Wed Sep 29 1999 - 15:07:08 PDT