On Mon, Feb 24, 2003 at 04:35:47PM +0000, Jan wrote:
> This works fine, but when I use htsearch, all the links I get are
> pointing to my modified CGI script, not the one I would actually like to
> use. Fortunately there is a simple way to get the link I want - it's a
> simple matter of either changing the name of the CGI script in the
> reference, or perhaps a port number, like:

http://htdig.org/attrs.html#search_rewrite_rules
http://htdig.org/attrs.html#url_rewrite_rules <----
http://htdig.org/attrs.html#url_part_aliases

Take a look at the url_rewrite_rules first. It may be able to solve your
problem. The other two links change the links at different times. I think
you want url_rewrite_rules which permanently changes teh URLs as they are
indexed.

search_rewrite_rules changes the URLs when the documents are searched

url_part_aliases changes parts of rules (like this: completely transpose
the old server name www.example.com to the new server name:
www.elpmaxe.com)

Hope that helps!

emma :)

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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