I have ht://dig 3.1.5 running on a server (Redhat 5.2,Apache 1.3.20)
which is known by various different DNS & NetBIOS names (in fact some
users address it by IP address only, or use their own server-name that
I can't predict) - due to it being connectable from very separate
networks via firewalls & NAT. So I've been trying to configure
ht://dig to return search results with URLs expressed in terms of the
URL the caller supplied when they connected in the first place.
But either I don't understand the required syntax, or you can't use
the CGI variable SERVER_NAME as part of the "url_part_aliases"
directive in htdig.conf.
Assuming I have the "start_url" specified as "http://123.123.123.123",
I've been trying :
url_part_aliases: $(SERVER_NAME) 123.123.123.123
and variations on the variable name syntax, such as ${SERVER_NAME},
$&(SERVER_NAME), $%(SERVER_NAME), etc. Some of these "work" but give
search result URLs like
http://(SERVER_NAME)/mypath/mydoc.html
while other syntax variations just give "unexpected error running
ht://dig - url_part_aliases needs an even number of strings but an odd
number was specified - please contact your sysadmin" type messages.
Is what I want possible ?
If so, can anyone help me out ?
Thanks folks.
Nick Boyce
Bristol, UK
--
Remember:
If brute force doesn't work, you're just not using enough.
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html