home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 May
/
PCW596.iso
/
wtest
/
novell
/
web30day.exe
/
DISK1
/
WEB
/
CONFIG
/
SRM.CFG
< prev
Wrap
Text File
|
1995-11-07
|
4KB
|
78 lines
# srm.cfg
# This is the resource configuration file for the web server. It is usually
# located in the config subdirectory of the server root directory, but this
# default location can be overridden with a 'ResourceConfig' directive in
# the master configuration file 'httpd.cfg'.
#
# This file controls the server's behavior for providing information about
# resources, such as simple HTML files, directories of files, and auxillary
# programs that are run to handle requests.
#
# As in the master configuration file, lines that are not blank and do not
# begin with a '#' are interpreted as directives and values. Also, paths are
# relative to the server root directory
# When handling an HTTP request, the server maps the path name in the request
# to an actual file name. Many of these directives control this mapping
# process.
# The 'DocumentRoot' directive specifies the path to the root of the
# documents provided by this server. Absolute paths in the request will
# be mapped to document paths below the DocumentRoot directory.
DocumentRoot docs
# The 'UserDir' directive specifies the name of the directory in a user's
# home directory that a ~<user> request path will be mapped to.
UserDir public.www
# The 'DirectoryIndex' directive specifies the name of the file that contains
# index information about a directory. If the requested directory contains a
# file with this name, the contents of this file will be returned as the
# response.
DirectoryIndex index.htm
# The 'AccessFileName' directive specifies the name of the file that
# contains access control directives for a directory. If a directory contains
# a file with this name, that file will be read, and the access control
# directives will be applied to that directory. See the comments in
# the global access control file access.cfg for a description of the
# access control directives.
AccessFileName access.www
DefaultType text/plain
FancyIndexing on
IndexOptions
ReadmeName README
HeaderName HEADER
AddEncoding x-compress Z
AddEncoding x-gzip gz
AddIconByType (TXT,/icons/text.xbm) text/*
AddIconByType (IMG,/icons/image.xbm) image/*
AddIconByType (SND,/icons/sound.xbm) audio/*
AddIcon /icons/movie.xbm .mpg .qt
AddIcon /icons/binary.xbm .bin
AddIcon /icons/image.xbm .xbm
AddIcon /icons/back.xbm ..
AddIcon /icons/menu.xbm ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^
AddIconByEncoding /icons/binary.xbm text/binary
DefaultIcon /icons/unknown.xbm
# The 'RemoteScriptAlias' directive specifies a mapping from a request path
# to remote CGI requests. The first value specifies the virtual path in
# the HTTP request URL, and the second value specifies the hostname, port
# number and root directory for the remote CGI server. The RCGI server is
# expected to be listening on the port at the given hostname. The directory
# specifies the root directory of the scripts executed by the RCGI server.
#
# For the BASIC server running on the same machine, the hostname must be
# localhost rather than the hostname of the machine.
RemoteScriptAlias /scripts/ localhost:8001/scripts/
RemoteScriptAlias /perl/ localhost:8002/sys:web/scripts/perl/
RemoteScriptAlias /cgiproc/ localhost:8003/sys:web/samples/cgiapp/
# The 'MapAlias' directive specifies a mapping from a request path to
# an image map. This image map will translate the X and Y coordinates
# provided in the arguments portion of the request URL into another URL.
# The server will return a redirect to the mapped URL.
MapAlias /maps/ maps/