On Saturday, October 19, 2002, at 01:43 PM, Karsten Werner wrote:



Thanks to IP forwarding on the router the server can be accessed via FQDN from the internet.
What we would like to do is: using htdig to index all the docs and manpages, HOWTOs, etc. on this machine and make them search and readable
from the internet. I managed to index these files locally
(http://localhost/), and I can access www.mydomain.org/search and I can even search and find, but results refer to localhost and so cannot be displayed.
You might want to take a look at the search_rewrite_rules attribute. This allows you to rewrite the URL's in search results.

http://www.htdig.org/attrs.html#search_rewrite_rules

htsearch, but I can only find htdig.conf in my /etc/htdig directory.
(I am running Debian woody 2.2.20 and installed htdig via dselect).
Though I am not familiar with this particular distribution, /etc/htdig.conf is most likely the file you need to edit.

Do I have to recompile htdig myself, or do have to write my own htsearch.conf and if so, where do I put it and how does htdig find it (via "include: htsearch.conf" in htdig.conf ?) ?
If something older than 3.1.6 is installed, you should upgrade. Otherwise, you should be OK with what is currently installed. While there is nothing wrong with creating additional config files, I would suggest sticking with /etc/htdig.conf for the time being; saving a copy of the original before you start editing would of course be a good idea :)

Jim



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
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