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.conf-dist < prev    next >
Encoding:
Text File  |  1995-11-10  |  3.9 KB  |  130 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.  
  10. # DocumentRoot: The directory out of which you will serve your
  11. # documents. By default, all requests are taken from this directory, but
  12. # symbolic links and aliases may be used to point to other locations.
  13.  
  14. DocumentRoot /usr/local/etc/httpd/htdocs
  15.  
  16. # UserDir: The name of the directory which is appended onto a user's home
  17. # directory if a ~user request is recieved.
  18.  
  19. UserDir public_html
  20.  
  21. # DirectoryIndex: Name of the file to use as a pre-written HTML
  22. # directory index
  23.  
  24. DirectoryIndex index.html
  25.  
  26. # FancyIndexing is whether you want fancy directory indexing or standard
  27.  
  28. FancyIndexing on
  29.  
  30. # AddIcon tells the server which icon to show for different files or filename
  31. # extensions
  32.  
  33. AddIconByType (TXT,/icons/text.xbm) text/*
  34. AddIconByType (IMG,/icons/image.xbm) image/*
  35. AddIconByType (SND,/icons/sound.xbm) audio/*
  36. AddIcon /icons/movie.xbm .mpg .qt
  37. AddIcon /icons/binary.xbm .bin
  38.  
  39. AddIcon /icons/back.xbm ..
  40. AddIcon /icons/menu.xbm ^^DIRECTORY^^
  41. AddIcon /icons/blank.xbm ^^BLANKICON^^
  42.  
  43. # DefaultIcon is which icon to show for files which do not have an icon
  44. # explicitly set.
  45.  
  46. DefaultIcon /icons/unknown.xbm
  47.  
  48. # AddDescription allows you to place a short description after a file in
  49. # server-generated indexes.
  50. # Format: AddDescription "description" filename
  51.  
  52. # ReadmeName is the name of the README file the server will look for by
  53. # default. Format: ReadmeName name
  54. #
  55. # The server will first look for name.html, include it if found, and it will
  56. # then look for name and include it as plaintext if found.
  57. #
  58. # HeaderName is the name of a file which should be prepended to
  59. # directory indexes. 
  60.  
  61. ReadmeName README
  62. HeaderName HEADER
  63.  
  64. # IndexIgnore is a set of filenames which directory indexing should ignore
  65. # Format: IndexIgnore name1 name2...
  66.  
  67. IndexIgnore */.??* *~ *# */HEADER* */README*
  68.  
  69. # AccessFileName: The name of the file to look for in each directory
  70. # for access control information.
  71.  
  72. AccessFileName .htaccess
  73.  
  74. # DefaultType is the default MIME type for documents which the server
  75. # cannot find the type of from filename extensions.
  76.  
  77. DefaultType text/plain
  78.  
  79. # AddType allows you to tweak mime.types without actually editing it, or to
  80. # make certain files to be certain types.
  81. # Format: AddType type/subtype ext1
  82.  
  83. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  84. # information on the fly. Note: Not all browsers support this.
  85.  
  86. #AddEncoding x-compress Z
  87. #AddEncoding x-gzip gz
  88.  
  89. # Redirect allows you to tell clients about documents which used to exist in
  90. # your server's namespace, but do not anymore. This allows you to tell the
  91. # clients where to look for the relocated document.
  92. # Format: Redirect fakename url
  93.  
  94.  
  95. # Aliases: Add here as many aliases as you need, up to 20. The format is 
  96. # Alias fakename realname
  97.  
  98. Alias /icons/ /usr/local/etc/httpd/icons/
  99. Alias /iuma/ /iuma
  100.  
  101. # ScriptAlias: This controls which directories contain server scripts.
  102. # Format: ScriptAlias fakename realname
  103.  
  104. ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/
  105. ScriptAlias /iuma/cgi/ /iuma/cgi
  106.  
  107.  
  108. # If you want to use server side includes, or CGI outside
  109. # ScriptAliased directories, uncomment the following lines.
  110.  
  111. #AddType text/x-server-parsed-html .shtml
  112. #AddType application/x-httpd-cgi .cgi
  113.  
  114. # If you want to have files/scripts sent instead of the built-in version
  115. # in case of errors, uncomment the following lines and set them as you
  116. # will.  Note: scripts must be able to be run as if the were called 
  117. # directly (in ScriptAlias directory, for instance)
  118.  
  119. # 302 - REDIRECT 
  120. # 400 - BAD_REQUEST 
  121. # 401 - AUTH_REQUIRED 
  122. # 403 - FORBIDDEN 
  123. # 404 - NOT_FOUND 
  124. # 500 - SERVER_ERROR 
  125. # 501 - NOT_IMPLEMENTED 
  126.  
  127. #ErrorDocument 302 /cgi-bin/redirect.cgi
  128. #ErrorDocument 500 /errors/server.html
  129. #ErrorDocument 403 /errors/forbidden.html
  130.