home *** CD-ROM | disk | FTP | other *** search
/ Magazyn WWW 1999 July / www_07_1999.iso / prez / amiga / apache_1_0_5.lha / apache_1.0.5 / conf / srm.conf < prev    next >
Text File  |  1996-04-25  |  5KB  |  172 lines

  1. # With this document, you define the name space that users see of your http
  2. # server.  This file also defines server settings which affect how requests are
  3. # serviced, and how results should be formatted.
  4.  
  5. # See the tutorials at http://www.apache.org/ for
  6. # more information.
  7.  
  8. # Originally by Rob McCool; Adapted for Apache
  9.  
  10.  
  11. # DocumentRoot: The directory out of which you will serve your
  12. # documents. By default, all requests are taken from this directory, but
  13. # symbolic links and aliases may be used to point to other locations.
  14.  
  15. DocumentRoot /apache/htdocs
  16.  
  17. # UserDir: The name of the directory which is appended onto a user's home
  18. # directory if a ~user request is recieved.
  19.  
  20. UserDir public_html
  21.  
  22. # DirectoryIndex: Name of the file or files to use as a pre-written HTML
  23. # directory index.  Separate multiple entries with spaces.
  24.  
  25. DirectoryIndex index.html
  26.  
  27. # FancyIndexing is whether you want fancy directory indexing or standard
  28.  
  29. FancyIndexing on
  30.  
  31. # AddIcon tells the server which icon to show for different files or filename
  32. # extensions
  33.  
  34. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  35. AddIconByType (TXT,/icons/text.gif) text/*
  36. AddIconByType (IMG,/icons/image2.gif) image/*
  37. AddIconByType (SND,/icons/sound2.gif) audio/*
  38. AddIconByType (VID,/icons/movie.gif) video/*
  39. AddIcon /icons/text.gif .ps .shtml
  40. AddIcon /icons/movie.gif .mpg .qt
  41. AddIcon /icons/binary.gif .bin
  42. AddIcon /icons/burst.gif .wrl
  43. AddIcon /icons/binhex.gif .hqx .sit
  44. AddIcon /icons/uu.gif .uu
  45. AddIcon /icons/tar.gif .tar  .tar
  46. AddIcon /icons/back.gif ..
  47. AddIcon /icons/dir.gif ^^DIRECTORY^^
  48. AddIcon /icons/blank.gif ^^BLANKICON^^
  49.  
  50. # DefaultIcon is which icon to show for files which do not have an icon
  51. # explicitly set.
  52.  
  53. DefaultIcon /icons/unknown.gif
  54.  
  55. # AddDescription allows you to place a short description after a file in
  56. # server-generated indexes.
  57. # Format: AddDescription "description" filename
  58.  
  59. # ReadmeName is the name of the README file the server will look for by
  60. # default. Format: ReadmeName name
  61. #
  62. # The server will first look for name.html, include it if found, and it will
  63. # then look for name and include it as plaintext if found.
  64. #
  65. # HeaderName is the name of a file which should be prepended to
  66. # directory indexes.
  67.  
  68. ReadmeName README
  69. HeaderName HEADER
  70.  
  71. # IndexIgnore is a set of filenames which directory indexing should ignore
  72. # Format: IndexIgnore name1 name2...
  73.  
  74. IndexIgnore */.??* *~ *# */HEADER* */README* */RCS
  75.  
  76. # AccessFileName: The name of the file to look for in each directory
  77. # for access control information.
  78.  
  79. AccessFileName .htaccess
  80.  
  81. # DefaultType is the default MIME type for documents which the server
  82. # cannot find the type of from filename extensions.
  83.  
  84. DefaultType text/plain
  85.  
  86. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  87. # information on the fly. Note: Not all browsers support this.
  88.  
  89. AddEncoding x-compress Z
  90. AddEncoding x-gzip gz
  91.  
  92. # AddLanguage allows you to specify the language of a document. You can
  93. # then use content negotiation to give a browser a file in a language
  94. # it can understand.  Note that the suffix does not have to be the same
  95. # as the language keyword --- those with documents in Polish (whose
  96. # net-standard language code is pl) may wish to use "AddLanguage pl .po"
  97. # to avoid the ambiguity with the common suffix for perl scripts.
  98.  
  99. AddLanguage en .en
  100. AddLanguage fr .fr
  101. AddLanguage de .de
  102. AddLanguage da .da
  103. AddLanguage el .el
  104. AddLanguage it .it
  105.  
  106. # LanguagePriority allows you to give precedence to some languages
  107. # in case of a tie during content negotiation.
  108. # Just list the languages in decreasing order of preference.
  109.  
  110. LanguagePriority en fr de
  111.  
  112. # Redirect allows you to tell clients about documents which used to exist in
  113. # your server's namespace, but do not anymore. This allows you to tell the
  114. # clients where to look for the relocated document.
  115. # Format: Redirect fakename url
  116.  
  117.  
  118. # Aliases: Add here as many aliases as you need (with no limit). The format is
  119. # Alias fakename realname
  120.  
  121. Alias /icons/ /apache/icons/
  122.  
  123. # ScriptAlias: This controls which directories contain server scripts.
  124. # Format: ScriptAlias fakename realname
  125.  
  126. ScriptAlias /cgi-bin/ /apache/cgi-bin/
  127.  
  128. # If you want to use server side includes, or CGI outside
  129. # ScriptAliased directories, uncomment the following lines.
  130.  
  131. # AddType allows you to tweak mime.types without actually editing it, or to
  132. # make certain files to be certain types.
  133. # Format: AddType type/subtype ext1
  134.  
  135. #AddType text/x-server-parsed-html .shtml
  136. #AddType application/x-httpd-cgi .cgi
  137.  
  138. # For server-side includes which will be treated as HTML3
  139. # for purposes of content negotiation, use
  140.  
  141. AddType text/x-server-parsed-html3 .shtml3
  142.  
  143. # Uncomment the following line to enable Apache's send-asis HTTP file
  144. # feature
  145.  
  146. #AddType httpd/send-as-is asis
  147.  
  148. # To enable type maps, you might want to use
  149.  
  150. #AddType application/x-type-map var
  151.  
  152. # If you wish to use server-parsed imagemap files, use
  153.  
  154. AddType application/x-httpd-imap map
  155.  
  156. # Customizable error response (Apache style)
  157. #  these come in three flavors
  158. #
  159. #    1) plain text
  160. #ErrorDocument 500 "The server made a boo boo.
  161. #  n.b.  the (") marks it as text, it does not get output
  162. #
  163. #    2) local redirects
  164. #ErrorDocument 404 /missing.html
  165. #  to redirect to local url /missing.html
  166. #ErrorDocument 404 /cgi-bin/missing_handler.pl
  167. #  n.b. can redirect to a script or a document using server-side-includes.
  168. #
  169. #    3) external redirects
  170. #ErrorDocument 402 http://other.server.com/subscription_info.html
  171. #
  172.