I can't seem to find any info on this SimpleSearch thing, so maybe it's because I'm about to ask a "101" question... But here goes!
I'm trying to put this SimpleSearch thing in place, and it doesnt return any results. It works (It gives me a result form) but there is nothing on it.
I get the feeling my problem is with the $basedir variable. I entered everything I could think of. It seems pretty straightforward ("the folder beeing searched"):
$basedir = '/public';
$baseurl = 'http://www.example.com/';
@files = ('*.html','*/*.html');
$title = "Search result on Tiger-Vac.com";
$title_url = 'http://www.example.com';
$search_url = 'http://www.example.com/pages/search.html';
@blocked = ();
$emulate_matts_code = 1;
$style = '';
$charset = 'iso-8859-1';
The way I see it, this should search all of the "public" folder? Right?
Thanks in advance for your help, and sorry if I'm duplicating something that already exists, but I couldnt find a thread about this.
[edited by: jatar_k at 8:06 pm (utc) on April 10, 2007]
[edit reason] please use example.com [/edit]
http://www.example.com
maybe you want to do this:
$basedir = "$ENV{DOCUMENT_ROOT}/public";
I assumed 'public' was the www root but maybe not.
See the NMS SimpleSearch readme documentations for details on setting up the script.