<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Miscellaneous</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="mnoGoSearch 3.3.8 reference manual" HREF="index.html"><LINK REL="PREVIOUS" TITLE="mnoGoSearch cluster" HREF="msearch-cluster.html"><LINK REL="NEXT" TITLE="Using mnoGoSearch as an embedded search library " HREF="msearch-lib.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="mnogo.css"><META NAME="Description" CONTENT="mnoGoSearch - Full Featured Web site Open Source Search Engine Software over the Internet and Intranet Web Sites Based on SQL Database. It is a Free search software covered by GNU license."><META NAME="Keywords" CONTENT="shareware, freeware, download, internet, unix, utilities, search engine, text retrieval, knowledge retrieval, text search, information retrieval, database search, mining, intranet, webserver, index, spider, filesearch, meta, free, open source, full-text, udmsearch, website, find, opensource, search, searching, software, udmsearch, engine, indexing, system, web, ftp, http, cgi, php, SQL, MySQL, database, php3, FreeBSD, Linux, Unix, mnoGoSearch, MacOS X, Mac OS X, Windows, 2000, NT, 95, 98, GNU, GPL, url, grabbing"></HEAD ><BODY CLASS="chapter" BGCOLOR="#EEEEEE" TEXT="#000000" LINK="#000080" VLINK="#800080" ALINK="#FF0000" ><!--#include virtual="body-before.html"--><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" ><SPAN CLASS="application" >mnoGoSearch</SPAN > 3.3.8 reference manual: Full-featured search engine software</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="msearch-cluster.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="msearch-lib.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="chapter" ><H1 ><A NAME="misc" ></A >Chapter 12. Miscellaneous</H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="msearch-misc.html#envvars" >Environment variables</A ></DT ><DT ><A HREF="msearch-lib.html" >Using <SPAN CLASS="application" >mnoGoSearch</SPAN > as an embedded search library <A NAME="AEN6457" ></A ></A ></DT ><DT ><A HREF="msearch-udmstemmer.html" ><SPAN CLASS="application" >MySQL</SPAN > fulltext parser plugin</A ></DT ><DT ><A HREF="msearch-dbschema.html" >Database schema</A ></DT ><DT ><A HREF="msearch-bugs.html" >Reporting bugs</A ></DT ></DL ></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="envvars" >Environment variables</A ></H1 ><P ><SPAN CLASS="application" >mnoGoSearch</SPAN > understands a number of environment variables. </P ><P > <DIV CLASS="table" ><A NAME="AEN6410" ></A ><P ><B >Table 12-1. Environment variables <SPAN CLASS="application" >mnoGoSearch</SPAN > understands </B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><TBODY ><TR ><TD >Variable</TD ><TD >Application</TD ><TD >Purpose</TD ></TR ><TR ><TD > <CODE CLASS="varname" >UDM_CONF_DIR</CODE >, <CODE CLASS="varname" >UDM_ETC_DIR</CODE > </TD ><TD > <SPAN CLASS="application" >indexer</SPAN >, <SPAN CLASS="application" >search.cgi</SPAN > </TD ><TD > Changes the location of the <TT CLASS="filename" >/etc</TT > directory. These two variables are synonyms. If both variables are set, then <CODE CLASS="varname" >UDM_ETC_DIR</CODE > is ignored. </TD ></TR ><TR ><TD > <CODE CLASS="varname" >UDM_TMP_DIR</CODE >, <CODE CLASS="varname" >TMPDIR</CODE > </TD ><TD > <SPAN CLASS="application" >indexer</SPAN >, </TD ><TD > Changes the directory of the temporary files (e.g. created for external parsers) instead of the default location at <TT CLASS="filename" >/tmp</TT >. If both variables are set, then <CODE CLASS="varname" >TMPDIR</CODE > is ignored. </TD ></TR ><TR ><TD > <CODE CLASS="varname" >UDM_SHARE_DIR</CODE > </TD ><TD > <SPAN CLASS="application" >indexer</SPAN >, <SPAN CLASS="application" >search.cgi</SPAN > </TD ><TD > Changes the location of the <TT CLASS="filename" >/share</TT > directory. </TD ></TR ><TR ><TD > <CODE CLASS="varname" >UDMSEARCH_TEMPLATE</CODE > </TD ><TD > <SPAN CLASS="application" >search.cgi</SPAN > </TD ><TD > Specifies the template file to use, instead of the default file at <TT CLASS="filename" >etc/search.htm</TT >. See also <A HREF="msearch-doingsearch.html#search-templates" >the Section called <I >Using multiple templates</I > in Chapter 10</A >. </TD ></TR ></TBODY ></TABLE ></DIV > </P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="msearch-cluster.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="msearch-lib.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >mnoGoSearch cluster</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Using <SPAN CLASS="application" >mnoGoSearch</SPAN > as an embedded search library <A NAME="AEN6457" ></A ></TD ></TR ></TABLE ></DIV ><!--#include virtual="body-after.html"--></BODY ></HTML >