This is the main command of the indexer.conf file. It's used to describe the Web-space you want to index. It also inserts the given URL into the database to use it as a start point (entry point).
Server can be given multiple times, as many times as the number of different servers (or server parts) you want to index.
Method is an optional parameter
which can take one of the following values:
Methodvalue is Allow. The meaning of the different
Methodvalues is similar to the commands with the same names (Allow, Disallow, etc).
Subsection is an optional parameter
to specify a part of the server. It can take the following values:
page describes Web space
consisting of one document with the address
exactly equal to
The other documents for the same site won't be indexed
(unless they have their own Server or Realm commands).
path describes all documents
from the same host and under the same path
site describes all documents
from the same host with
world means any document in the world. Should typically be accompanied with a number of Disallow commands.
urllist works almost like page but also allows to follow from the URL given in the current Server command to any URL corresponding to a Realm site command, even if the two URLs belong to different sites.
Subsection value is path.
Have a look into the Section called Specifying the Web space for indexing in Chapter 3 for more details.
# 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/