Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > c42e34bdaa3476d8fcbcdb241d8ba586 > files > 4

mnogosearch-php-3.2.11-5mdv2010.0.noarch.rpm

=======================================================================
Search.php frontend for mnoGoSearch ( formely known as UdmSearch) 
		free web search engine
=======================================================================

Please send you comments, questions and suggestions to
general@mnogosearch.org (Main maillist)
devel@mnogosearch.org (Developers maillist)

Reqirements:
------------
search.php requires PHP 4.3.x or later built with mnoGoSearch support.

How do I use it?
----------------

1. Copy all distribution files into one directory.
2. Edit search.php and setup $template_file='/path/to/search.htm';  // path to template file
3. Edit config.inc settings at the beginning of the script:

     $MAX_NP=1000;                          // maximum allowed results page number
     $MAX_PS=100;                           // maximum allowed results per page
     
     $trackquery='no';			    // default value for TrackQuery template parameter	

     $lang_content_negotiation='no';        // (optional) Enable language content negotiation
                                            // Please refer to docs/negotiation.txt for details

     $lang_url_translation='no';            // (optional) Enable language url translation
     					    // for example url "path/file.en.ext"
	  				    // will be translated into "path/file"
                                            // Please refer to docs/negotiation.txt for details

4. Edit search.htm to suit your needs. 

P.S. The setup seems to be very confusing to our users which are trying to 
use frontend with PHP CGI (not with apache module). In a such situation 
the path to the search.php in a form in search.htm should be like
/cgi-bin/php.cgi/path_to_search_php/search.php
This depends on where you installed PHP CGI. So correct accordingly your 
search template.