Thanks for the assistance - I understand what it does a bit better now.
However I had some interesting behaviour I thought I might share.

For starters - all versions of the config files contained the following:

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

OK. The follwoing did not work. It would dig OK, but I would get no
search results. By that, I means that I would get an OK looking header
and footer, but no displayed results at all.

   dig.conf:
     url_part_aliases: http://localhost/ *1

   search.conf:
     url_part_aliases: / *1

However, I realised that all the files of interested just happened to be
in a subdirectory called "help". So, I decided to make use of this and try:

   dig.conf:
     url_part_aliases: http://localhost/help/ *1

   search.conf:
     url_part_aliases: /help/ *1

which did work OK. For some reason, the single "/" was being rejected.

Is this a bug? ( I am using ht://Dig 3.1.5 )

Regs

Brian White

At 22:38 30/07/2001 -0500, Geoff Hutchison wrote:
>At 12:26 PM +1000 7/31/01, Brian White wrote:
>>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/"; => "/")
>
>You're misinterpreting url_part_aliases. It works as an encode/decode 
>system. This way you can have htdig use one URL and show a different one 
>for htsearch. But if you use the pattern you just posted for htsearch, 
>every "/" will become http://127.0.0.1/. Probably not what you want.
>
>Try making two config files, one for digging and one for search.
>dig.conf:
>
>url_part_aliases: http://localhost/ *1
>
>search.conf:
>
>url_part_aliases: / *1
>
>(or other pattern in place of "/")
>
>--
>--
>-Geoff Hutchison
>Williams Students Online
>http://wso.williams.edu/
>
>_______________________________________________
>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

-------------------------
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