On Tue, 10 Jul 2001, Joe R. Jah wrote:

> Date: Tue, 10 Jul 2001 15:02:14 -0700 (PDT)
> From: Joe R. Jah <[EMAIL PROTECTED]>
> To: Geoff Hutchison <[EMAIL PROTECTED]>
> Cc: Dante Picca <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: [htdig] htdig and relative urls
> 
> To get a pure relative URL page in order to have the browser prepend the
> rest of the URL you can do:
> 
> indexing.conf:
> url_part_aliases: http://users.mysite.it/ *2
> 
> searching.conf:
> url_part_aliases: /./ *2
> 
> First I tried it with just "/", but if you do it like:
> 
> searching.conf:
> url_part_aliases: / *2
> 
> You would get a premature end of script error in your server error log.  
> There may be a way to patch htlib/HtWordCodec.cc to allow that too.  I
> think it expects more than one character;-/

Correction: I tried it at the command prompt.  I could use several single
characters without a problem:

url_part_aliases: . *2
url_part_aliases: * *2
...

But when I used a single slash "/" htsearch segfaulted:

url_part_aliases: / *2

________________________________Htdig 3.1.5 on BSDi 
4.2_________________________________
$ gdb htsearch htsearch.core
GNU gdb
core was generated by `htsearch'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libz.so...done.
Reading symbols from /usr/lib/libstdc++.so.1...done.
Reading symbols from /shlib/libgcc.so.1...done.
Reading symbols from /shlib/libc.so.2...done.
Reading symbols from /shlib/ld-bsdi.so...done.
#0  0x8054042 in Display::buildMatchList (this=0x8046644) at 
../htcommon/DocumentRef.h:51
51          time_t              DocTime()                       {return docTime;}
(gdb) bt
#0  0x8054042 in Display::buildMatchList (this=0x8046644) at 
../htcommon/DocumentRef.h:51
#1  0x804e70c in Display::display (this=0x8046644, pageNumber=1) at Display.cc:95
#2  0x80572fa in main (ac=3, av=0x8047ccc) at htsearch.cc:336
#3  0x804e1fe in __start ()
(gdb) q
$________________________________________________________________________________________

Any ideas?

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to