Perlfect Solutions
 

[Perlfect-search] highlight matches + PHP + ?-suffix

Daniel Naber perlfect-search@perlfect.com
Mon, 24 Mar 2003 17:34:50 +0100
On Monday 24 March 2003 16:41, Michael Spiess wrote:

> 1) Now all URLs (with and without the ?-suffix) are displayed with the
> "highlight-link" except the root-URL: e.g. http://www.mydomain.com (here
> is the highlight-link still missing)

You might change your isHTML() function in tools.pl so that it only returns 
false on PDF file etc. However, I don't know a general solution, because 
with a certain combination of settings one might introduce security 
problems: indexing dynamic file from the local disk (instead via http) 
*and* having the "show matches" link activated. This link will then show 
people the source of your dynamic files.

Regards
 Daniel

-- 
http://www.danielnaber.de