( Damn - I just realised I made a significant little mistake in my question )

Hi.

We are using ht://Dig 3.1.5 as part of a web "help" application, so that
all files exist on the same host as the web server. Up until now I have
been successfully using the following config file settings:

start_url:      http://myserver.myorg.com.au/search/search_root.html
limit_urls_to:  http://myserver.myorg.com.au/
local_urls:     http://myserver.myorg.com.au/=/var/www/myserver/html/

However, we want to be able to clone this configuration onto mutliple
machines, so it would be good to remove all explicit references to the
name of the local server. My first attempt was to use the following
values instead:

start_url:      http://127.0.0.1/search/search_root.html
limit_urls_to:  http://127.0.0.1/
local_urls:     http://127.0.0.1/=/var/www/myserver/html/

which worked fine except that the search results all came up prefixed by
"http://127.0.0.1/";, which obviously enough won't link to anything.

I then tried adding following to the search config file:

1) url_part_aliases: http://127.0.0.1/ /

    This returned the following error:

       Invalid url_part_aliases or common_url_parts: Overlap in
       ("http://127.0.0.1/"; => "/")

2) url_part_aliases: / http://127.0.0.1/

    This created a page with header and footer but all of the search
    results missing

Can someone please tell me how to do the translation from "http://127.0.0.1/";
to "/", either on the way into or on the way out of the database?

Regs

Brian White
-------------------------
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


_______________________________________________
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

Reply via email to