'Aloo all,
I have set up htdig successfully, and everyone is happy with it so far.
There is one more thing that I need to do, and Im not sure how to implement
it. Basically, I need a *specific* part of a url rewritten. The problem is
that the part that needs to be rewritten is always different. Ill give an
example:
From:
http://mydomain.com/files/0001/0300/0002/document.doc
To:
http://mydomain.com/server-java/servlet&DOCUMENTID=0001
The directory name right after the 'files' directory has almost 3000 different
values. 0001-3000. This always has to be put in to the 'DOCUMENTID=' part of
the new url. The actual document at the end of the url does need to be
indexed.
Is url-part-aliases the correct config directive to use?
IM using htdig 3.1.5 on a sparc ultra4000 running linux.
I tried it with this in the htdig.conf:
url_part_aliases:http://mydomain.com/files/ *
with this in htsearch.conf:
url_part_aliases: http://mydomain.com/server-java/servlet?DOCUMENTID= *1
which almost works. Unfortunately, the whole url is present in the resulting
search string, i.e. it looks like this:
http://mydomain.com/server-java/servlet?DOCUMENTID=0001/0300/0001/document.doc
It should look like: http://mydomain.com/server-java/servlet?DOCUMENT=0001
Any help on this?
Thanks
--
David Patterson
Unix/Linux Administrator
TIMPO/HIRS
2421 Dickman Road, Ste 84
(Bldg 1001, Reid Hall)
Ft Sam Houston, TX 78234-5084
(210) 295-2575
_______________________________________________
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