On Fri, Jan 12, 2001 at 02:44:30AM +0300, shaggi wrote:
> How to make search.cgi to look at search.php inside of / etc instead of looking at 
>search.htm?
> sorry, i\'m a really begginer :)

The default setup of the Debian packaged version of mnogosearch-php does
this.  config.inc and search.php are both found in 
/etc/mnogosearch-php/

I do this with two changes:
Make $template_file refernce something in /etc/mnogosearch.
$template_file = "/etc/udmsearch-php/" . $template_file;

Allow php to include files in /etc/udmsearch-php with a .htaccess file
  php_value include_path /usr/share/mnogosearch-php:/etc/mnogosearch-php

  - Craig
-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/        <[EMAIL PROTECTED]>
MIEEE <[EMAIL PROTECTED]>                 Debian developer <[EMAIL PROTECTED]>
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to