home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 May / PCW596.iso / wtest / novell / web30day.exe / DISK1 / WEB / CONFIG / SRM.CFG < prev   
Text File  |  1995-11-07  |  4KB  |  78 lines

  1. # srm.cfg
  2. # This is the resource configuration file for the web server.  It is usually
  3. # located in the config subdirectory of the server root directory, but this
  4. # default location can be overridden with a 'ResourceConfig' directive in
  5. # the master configuration file 'httpd.cfg'.
  6. #
  7. # This file controls the server's behavior for providing information about
  8. # resources, such as simple HTML files, directories of files, and auxillary 
  9. # programs that are run to handle requests.
  10. #
  11. # As in the master configuration file, lines that are not blank and do not
  12. # begin with a '#' are interpreted as directives and values.  Also, paths are  
  13. # relative to the server root directory
  14.  
  15. # When handling an HTTP request, the server maps the path name in the request
  16. # to an actual file name.  Many of these directives control this mapping 
  17. # process.
  18.  
  19. # The 'DocumentRoot' directive specifies the path to the root of the
  20. # documents provided by this server.  Absolute paths in the request will
  21. # be mapped to document paths below the DocumentRoot directory.
  22. DocumentRoot docs
  23.  
  24. # The 'UserDir' directive specifies the name of the directory in a user's
  25. # home directory that a ~<user> request path will be mapped to.
  26. UserDir public.www
  27.  
  28. # The 'DirectoryIndex' directive specifies the name of the file that contains
  29. # index information about a directory.  If the requested directory contains a 
  30. # file with this name, the contents of this file will be returned as the 
  31. # response.
  32. DirectoryIndex index.htm
  33.  
  34. # The 'AccessFileName' directive specifies the name of the file that 
  35. # contains access control directives for a directory.  If a directory contains
  36. # a file with this name, that file will be read, and the access control
  37. # directives will be applied to that directory.  See the comments in 
  38. # the global access control file access.cfg for a description of the
  39. # access control directives.
  40. AccessFileName access.www
  41. DefaultType text/plain
  42. FancyIndexing on
  43. IndexOptions 
  44. ReadmeName README
  45. HeaderName HEADER
  46. AddEncoding x-compress Z
  47. AddEncoding x-gzip gz
  48. AddIconByType (TXT,/icons/text.xbm) text/*
  49. AddIconByType (IMG,/icons/image.xbm) image/*
  50. AddIconByType (SND,/icons/sound.xbm) audio/*
  51. AddIcon /icons/movie.xbm .mpg .qt
  52. AddIcon /icons/binary.xbm .bin
  53. AddIcon /icons/image.xbm .xbm
  54. AddIcon /icons/back.xbm ..
  55. AddIcon /icons/menu.xbm ^^DIRECTORY^^
  56. AddIcon /icons/blank.xbm ^^BLANKICON^^
  57. AddIconByEncoding /icons/binary.xbm text/binary
  58. DefaultIcon /icons/unknown.xbm
  59.  
  60. # The 'RemoteScriptAlias' directive specifies a mapping from a request path 
  61. # to remote CGI requests.  The first value specifies the virtual path in
  62. # the HTTP request URL, and the second value specifies the hostname, port
  63. # number and root directory for the remote CGI server.  The RCGI server is
  64. # expected to be listening on the port at the given hostname.  The directory
  65. # specifies the root directory of the scripts executed by the RCGI server.
  66. #
  67. # For the BASIC server running on the same machine, the hostname must be
  68. # localhost rather than the hostname of the machine.  
  69. RemoteScriptAlias /scripts/ localhost:8001/scripts/
  70. RemoteScriptAlias /perl/ localhost:8002/sys:web/scripts/perl/
  71. RemoteScriptAlias /cgiproc/ localhost:8003/sys:web/samples/cgiapp/
  72.  
  73. # The 'MapAlias' directive specifies a mapping from a request path to 
  74. # an image map.  This image map will translate the X and Y coordinates
  75. # provided in the arguments portion of the request URL into another URL.
  76. # The server will return a redirect to the mapped URL.
  77. MapAlias /maps/ maps/
  78.