[Perlfect-search] highlight matches + PHP + ?-suffix
Daniel Naber firstname.lastname@example.org
Mon, 24 Mar 2003 18:12:05 +0100
On Monday 24 March 2003 17:30, Michael Spiess wrote:
> thanks for your quick response - but it seems to be more complicated. I
> know that it is possible to exclude single files but in that case the
> root-URL is indexed - without the "index.php".
You will have to change answer_query() in search.pl. Either add another
next if(...) case for the homepage file, or modify the regular expression
so that they contain start and end markers, e.g. ... =~
m/^$exclude_exp$/i. Then you can exclude single files. To exclude more
files, you will then have to add ".*", e.g. "/de/.*".