Hi Gilles,

well I managed to get the thing working and here's what I ended up doing. If
there is anything "wrong" or "dirty hack" with this I'd be interested to
know.

* By changing the start URLs to http://localhost/etc/etc/etc/ I got half of
the documentation indexed but not the other half.
The other half was continually indexed using file://localhost/etc/etc/etc
even though it had the same start_url format.

* Then I eventually realised that the second half of the indexable docs were
in directory "kdelibs-3.0.0" but were referenced by a symbolic link
"kdelibs-3". The start url pointed to "kdelibs-3" since I thought that the
htdig program would follow the link to the referenced directory. Instead it
just use to say "http://localhost/blah/blah/blah/kdelibs-3/ cannot be found"
and then went on to index the referenced directory using the
"file://localhost/etc/etc/etc/kdelibs-3.0.0/" form - and at the end of the
process documents htdig'ed with "file://localhost/" were not searchable cf.
those htdig'ed with "http://localhost/"; (tested within KDE).

* By making the start URL point directly to the actual directory it worked
but in order to open the documents from their links in the htdig search page
within KDE I had to configure an apache Named virtual-host "localhost" with
"/" as it's webroot - very dirty and very unsafe. I'll need to play around
with that I think.

* The only way I found (through experimenting) to stop the file:// indexing
was to REMOVE the local_urls: http://localhost/=/ directive altogether.
Otherwise it kept trying to index the second half with file:// URLs all the
time - even when the start URL was pointing towards the actual directory
(and not the symbolic link) - is that because the file:// URLs were listed
in the doc.index.db?

Well at least one of the better features of kdevelop now works! Thanks for
your help Gilles and if you have any comments on the solution I'd be happy
to hear them.

Regards,

Richard Andrews


_______________________________________________
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