I'm using v2.2.3 on a Red Hat box and have successfully gotten a site
indexed and searched. The problem I'm having is using ReplaceRules to
translate the local filesystem path to a URL. Here's my config:
IndexFile /home/httpd/html/opentv/search/indexfiles/docs.index
IndexDir /home/httpd/html/opentv
IndexOnly .htm .html .shtml
FileRules pathname contains (search|images|external_files)
ReplaceRules replace "/home/html/opentv/" "/"
FollowSymLinks no
In the search results, I'm getting:
/home/httpd/html/opentv/company/index.html
What I want is:
/company/index.html
What am I missing?
Also, is it difficult to get the search results to output an excerpt of
matched documents along with the results? What goes in the config file
and templates for that?
How do I index PDFs? I have filter-bin/_pdf2html.pl, but I'm not sure
how to use it. The docs on the FileFilter directive are confusing me.
thanks,
-josh
Received on Tue Jun 17 18:56:40 2003