<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Server</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="mnoGoSearch 3.3.9 reference manual" HREF="index.html"><LINK REL="UP" TITLE="mnoGoSearch command reference" HREF="msearch-cmdref.html"><LINK REL="PREVIOUS" TITLE="Section" HREF="msearch-cmdref-section.html"><LINK REL="NEXT" TITLE="ServerTable" HREF="msearch-cmdref-servertable.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="refentry" 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.9 reference manual: Full-featured search engine software</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="msearch-cmdref-section.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="msearch-cmdref-servertable.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="cmdref-server" ></A >Server</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN12237" ></A ><H2 >Name</H2 ><B CLASS="command" >Server</B > -- describes Web-space for indexing<P ><B ></B ><TT CLASS="filename" >indexer.conf</TT ></P ></DIV ><DIV CLASS="refsynopsisdiv" ><A NAME="AEN12243" ></A ><H2 >Synopsis</H2 ><P ><B CLASS="command" >Server</B > [Method] [Subsection] {URL} [alias]</P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN12250" ></A ><H2 >Description</H2 ><P >This is the main command of the <TT CLASS="filename" >indexer.conf</TT > file. It's used to describe the Web-space you want to index. It also inserts the given <ACRONYM CLASS="acronym" >URL</ACRONYM > into the database to use it as a start point (<SPAN CLASS="emphasis" ><I CLASS="emphasis" >entry point</I ></SPAN >). </P ><P > <B CLASS="command" >Server</B > can be given multiple times, as many times as the number of different servers (or server parts) you want to index. </P ><P ><CODE CLASS="parameter" >Method</CODE > is an optional parameter which can take one of the following values: <P ></P ><UL ><LI ><P ><TT CLASS="literal" >Allow</TT ></P ></LI ><LI ><P ><TT CLASS="literal" >Disallow</TT ></P ></LI ><LI ><P ><TT CLASS="literal" >CheckOnly</TT ></P ></LI ><LI ><P ><TT CLASS="literal" >HrefOnly</TT ></P ></LI ><LI ><P ><TT CLASS="literal" >CheckMP3</TT ></P ></LI ><LI ><P ><TT CLASS="literal" >CheckMP3Only</TT ></P ></LI ><LI ><P ><TT CLASS="literal" >Skip</TT ></P ></LI ></UL > The default <CODE CLASS="parameter" >Method</CODE > value is <TT CLASS="literal" >Allow</TT >. The meaning of the different <CODE CLASS="parameter" >Method</CODE > values is similar to the commands with the same names (<B CLASS="command" ><A HREF="msearch-cmdref-allow.html" >Allow</A ></B >, <B CLASS="command" ><A HREF="msearch-cmdref-disallow.html" >Disallow</A ></B >, etc). </P ><P > <CODE CLASS="parameter" >Subsection</CODE > is an optional parameter to specify a part of the server. It can take the following values: <P ></P ><UL ><LI ><P > <TT CLASS="literal" >page</TT > describes Web space consisting of one document with the address exactly equal to <CODE CLASS="parameter" ><ACRONYM CLASS="acronym" >URL</ACRONYM ></CODE >. The other documents for the same site won't be indexed (unless they have their own <B CLASS="command" ><A HREF="msearch-cmdref-server.html" >Server</A ></B > or <B CLASS="command" ><A HREF="msearch-cmdref-realm.html" >Realm</A ></B > commands). </P ></LI ><LI ><P > <TT CLASS="literal" >path</TT > describes all documents from the same host and under the same path with <CODE CLASS="parameter" ><ACRONYM CLASS="acronym" >URL</ACRONYM ></CODE >. </P ></LI ><LI ><P > <TT CLASS="literal" >site</TT > describes all documents from the same host with <CODE CLASS="parameter" ><ACRONYM CLASS="acronym" >URL</ACRONYM ></CODE >. </P ></LI ><LI ><P > <TT CLASS="literal" >world</TT > means <SPAN CLASS="emphasis" ><I CLASS="emphasis" >any document</I ></SPAN > in the world. Should typically be accompanied with a number of <B CLASS="command" ><A HREF="msearch-cmdref-disallow.html" >Disallow</A ></B > commands. </P ></LI ><LI ><P > <TT CLASS="literal" >urllist</TT > works almost like <TT CLASS="literal" >page</TT > but also allows to follow from the <ACRONYM CLASS="acronym" >URL</ACRONYM > given in the current <B CLASS="command" >Server</B > command to any <ACRONYM CLASS="acronym" >URL</ACRONYM > corresponding to a <A HREF="msearch-cmdref-realm.html" >Realm site</A > command, even if the two <ACRONYM CLASS="acronym" >URL</ACRONYM >s belong to different sites. </P ></LI ></UL > </P ><P > The default <CODE CLASS="parameter" >Subsection</CODE > value is <TT CLASS="literal" >path</TT >. </P ><P > Have a look into <A HREF="msearch-indexer-configuration.html#follow" >the Section called <I >Specifying the Web space for indexing</I > in Chapter 3</A > for more details. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN12331" ></A ><H2 >Examples</H2 ><DIV CLASS="informalexample" ><P ></P ><A NAME="AEN12333" ></A ><PRE CLASS="programlisting" > # Index the entire server "host1": Server http://host1/ # Index a subdirectory of "local2": Server http://host2/subdir/ # Index a single document from host3: Server page http://host3/path/main.html # Index the entire server host4 using a non-root page as an entry point: Server site http://host4/path/main.html # You can also specify optional parameter "alias". This example will # index server "http://www.mnogosearch.org/" directly from disk instead of # fetching from HTTP server: Server http://www.mnogosearch.org/ /home/httpd/www.mnogosearch.org/ </PRE ><P ></P ></DIV ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN12335" ></A ><H2 >See also</H2 ><P > <A HREF="msearch-cmdref-allow.html" >Allow</A >, <A HREF="msearch-cmdref-flushservertable.html" >FlushServerTable</A >, <A HREF="msearch-cmdref-realm.html" >Realm</A >, <A HREF="msearch-cmdref-servertable.html" >ServerTable</A >, <A HREF="msearch-cmdref-subnet.html" >Subnet</A >, <A HREF="msearch-cmdref-url.html" >URL</A >. </P ></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-cmdref-section.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-cmdref-servertable.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Section</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="msearch-cmdref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ServerTable</TD ></TR ></TABLE ></DIV ><!--#include virtual="body-after.html"--></BODY ></HTML >