#
#  HTTPD.CFG - modified 10/20/94 by Thad Phetteplace
#
#  This file is used to customize the behavior of the GLACI HTTPD NLM.
#  See the install documentation for a more complete description of
#  what each of these settings does.

#  ServerPort is the TCP/IP port number to listen on for client requests.
#  Port 80 is the standard.

ServerPort   80

#  DocumentRoot defines the path to prepended to every HTTP file request.
#  this protects you from HTTP clients getting into other directories
#  on the NetWare server

DocumentRoot sys:/etc/htdocs

#  IconDir defines the directory to load icon image files from.  It
#  contains image files used by the ListDir feature.  You can also
#  store your own frequently used graphic images in this directory.
#  Prefixing a document path with '/icons/' tells the server to look
#  in IconDir directory for that file.

IconDir sys:/etc/icons

#  CGIDir names the directory which will contain all CGI scripts.
#  For security reasons only scripts in this directory will be
#  executed.  All documents prefixed with /cgi-bin/ will be
#  assumed to be cgi scripts.  If a document in CGIDir has an
#  extension of .pl or .prl it will loaded with the perl nlm.

CGIDir  sys:/etc/cgi-bin

#  TempDir names the directory where temporary files needed for CGI
#  scripts will be placed.  

TempDir sys:/temp

#  KeyFile is the name of the file which stores the RSA private key
#  for this server.  This file is password protected and the password
#  must be protected to ensure the security and authenticity of this
#  server.

WelcomePage  welcome.htm

#  HomeDir is the directory on the server where user home directories
#  are located.  It is used to determine the location of personal
#  web pages.

HomeDir SYS:/

#  ImageMapDir defines the directory to load image map files from.
#  Image map files are used in conjuction with ISMAP clickable
#  image support.  Prefixing a document path with '/img/' tells
#  the server that the requested file is an image map file and
#  should be loaded from the ImageMapDir directory.

ImageMapDir SYS:/ETC/IMAGEMAP

#  The 'ipallow' and 'ipdeny' keywords can be used to build an
#  IP access list filter to restrict access to the web server.  The
#  keyword should be followed by an IP address to allow or deny
#  access.  You can replace any octet of the address with the '*'
#  wildcard charcter to permit or deny entire networks or subnets.
#  The server starts at the top of the list and compares the
#  connecting address with each line in the access list until a
#  a match is found or the end of the list is reached.  If no
#  match is found, the connecting system is allowed access.  In the
#  below example, all hosts on the 199.170.176.* network exept
#  199.170.176.2 are allowed acess.  All other networks are denied
#  access.   The example has been commented out so it will not
#  interfere with the normal operation of your web server.

#  ipdeny  199.170.176.2
#  ipallow 199.170.176.*
#  ipdeny  *.*.*.*

#  Setting HtmlEqualsHtm to YES causes document requests with a .html
#  extension to be automatically shortened to a .htm extension.  This
#  may save you some trouble when moving documents from a UNIX web
#  server to the NetWare web server; you will not have to change the
#  embedded links in the document to reflect the shortened extension.

HtmlEqualsHtm  YES

#  Setting ListDirs to YES allows HTTP clients to request a listing
#  of files in any directory under the DocumentRoot.  You may
#  wish to set this to NO if you prefer restricting web browsers to
#  using the embedded links in your documents for navigating your files.

ListDirs  YES

#  LogFile sets the name of the file that HTTPD logs messages to.
#  Normally HTTPD writes one line of text for each HTTP request.  If
#  HTTPD is loaded with the -debug flag then the system will fill the
#  log file with much debug info.  Commenting out the LogFile line will
#  turn off the log file.  No automatic trimming of the log file is
#  done.  The system administrator must check it occasionally and make
#  sure it does not fill up the file system.

LogFile      sys:/etc/httpd.log

#  Set LogToScreen to YES if you want log messages sent to the server
#  console as well as the log file.  Commenting out the entry has the
#  same effect as setting it to NO.

LogToScreen  NO

USE311CGI    YES
# end HTTPD.CFG-10/20/94

