home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 12 / Silicon_Graphics_Developer_Magic_Soft_Dev_812-8101-012.iso / .all / httpd_ncsa / conf / srm.tmpl < prev   
Encoding:
Text File  |  1995-11-10  |  3.7 KB  |  120 lines

  1. # With this document, you define the name space that users see of your http
  2. # server.
  3.  
  4. # See the tutorials at http://hoohoo.ncsa.uiuc.edu/docs/tutorials/ for
  5. # more information.
  6.  
  7. # NCSA httpd (httpd@ncsa.uiuc.edu)
  8.  
  9. # DocumentRoot: The directory out of which you will serve your
  10. # documents. By default, all requests are taken from this directory, but
  11. # symbolic links and aliases may be used to point to other locations.
  12.  
  13. # (nick) in the shell script we might want to change this to an environmental
  14. #    variable so there are no conflicts, though we could probably leave it
  15. #    alone and be just fine.
  16.  
  17. DocumentRoot $DOCUMENTROOT
  18.  
  19. # UserDir: The name of the directory which is appended onto a user's home
  20. # directory if a ~user request is recieved.
  21.  
  22. # UserDir public_html
  23.  
  24. # DirectoryIndex: Name of the file to use as a pre-written HTML
  25. # directory index
  26.  
  27. DirectoryIndex index.html
  28.  
  29. # FancyIndexing is whether you want fancy directory indexing or standard
  30.  
  31. FancyIndexing on
  32.  
  33. # AddIcon tells the server which icon to show for different files or filename
  34. # extensions
  35.  
  36. # DefaultIcon is which icon to show for files which do not have an icon
  37. # explicitly set.
  38.  
  39. # AddDescription allows you to place a short description after a file in
  40. # server-generated indexes.
  41. # Format: AddDescription "description" filename
  42.  
  43. # ReadmeName is the name of the README file the server will look for by
  44. # default. Format: ReadmeName name
  45. #
  46. # The server will first look for name.html, include it if found, and it will
  47. # then look for name and include it as plaintext if found.
  48. #
  49. # HeaderName is the name of a file which should be prepended to
  50. # directory indexes.
  51.  
  52. ReadmeName README
  53. HeaderName HEADER
  54.  
  55. # IndexIgnore is a set of filenames which directory indexing should ignore
  56. # Format: IndexIgnore name1 name2...
  57.  
  58. IndexIgnore */.??* *~ *# */HEADER* */README*
  59.  
  60. # AccessFileName: The name of the file to look for in each directory
  61. # for access control information.
  62.  
  63. AccessFileName .htaccess
  64.  
  65. # DefaultType is the default MIME type for documents which the server
  66. # cannot find the type of from filename extensions.
  67.  
  68. DefaultType text/plain
  69.  
  70. # AddType allows you to tweak mime.types without actually editing it, or to
  71. # make certain files to be certain types.
  72. # Format: AddType type/subtype ext1
  73.  
  74. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  75. # information on the fly. Note: Not all browsers support this.
  76.  
  77. #AddEncoding x-compress Z
  78. #AddEncoding x-gzip gz
  79.  
  80. # Redirect allows you to tell clients about documents which used to exist in
  81. # your server's namespace, but do not anymore. This allows you to tell the
  82. # clients where to look for the relocated document.
  83. # Format: Redirect fakename url
  84.  
  85.  
  86. # Aliases: Add here as many aliases as you need, up to 20. The format is
  87. # Alias fakename realname
  88. Alias /iuma/ /iuma/
  89.  
  90. # ScriptAlias: This controls which directories contain server scripts.
  91. # Format: ScriptAlias fakename realname
  92. #ScriptAlias /iuma/ /usr/var/tmp/ILLUSTRA/iuma/
  93. ScriptAlias /iuma/cgi/ /iuma/cgi/
  94.  
  95. # If you want to use server side includes, or CGI outside
  96. # ScriptAliased directories, uncomment the following lines.
  97.  
  98. AddType text/x-server-parsed-html .shtml
  99. AddType application/x-httpd-cgi .cgi
  100. AddType application/x-csh .csh
  101. #AddType application/x-perl .pl
  102. AddType application/x-httpd-cgi .pl
  103.  
  104. # If you want to have files/scripts sent instead of the built-in version
  105. # in case of errors, uncomment the following lines and set them as you
  106. # will.  Note: scripts must be able to be run as if the were called
  107. # directly (in ScriptAlias directory, for instance)
  108.  
  109. # 302 - REDIRECT
  110. # 400 - BAD_REQUEST
  111. # 401 - AUTH_REQUIRED
  112. # 403 - FORBIDDEN
  113. # 404 - NOT_FOUND
  114. # 500 - SERVER_ERROR
  115. # 501 - NOT_IMPLEMENTED
  116.  
  117. #ErrorDocument 302 /cgi-bin/redirect.cgi
  118. #ErrorDocument 500 /errors/server.html
  119. #ErrorDocument 403 /errors/forbidden.html
  120.