home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / share / os2 / varios / apache / srm.con < prev    next >
Encoding:
Text File  |  1996-06-12  |  6.8 KB  |  211 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 /usr/local/etc/httpd/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.  
  36. AddIconByType (TXT,/icons/text.gif) text/*
  37. AddIconByType (IMG,/icons/image2.gif) image/*
  38. AddIconByType (SND,/icons/sound2.gif) audio/*
  39. AddIconByType (VID,/icons/movie.gif) video/*
  40.  
  41. AddIcon /icons/binary.gif .bin .exe
  42. AddIcon /icons/binhex.gif .hqx
  43. AddIcon /icons/tar.gif .tar
  44. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  45. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  46. AddIcon /icons/a.gif .ps .ai .eps
  47. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  48. AddIcon /icons/text.gif .txt
  49. AddIcon /icons/c.gif .c
  50. AddIcon /icons/p.gif .pl .py
  51. AddIcon /icons/f.gif .for
  52. AddIcon /icons/dvi.gif .dvi
  53. AddIcon /icons/uuencoded.gif .uu
  54. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  55. AddIcon /icons/tex.gif .tex
  56. AddIcon /icons/bomb.gif core
  57.  
  58. AddIcon /icons/back.gif ..
  59. AddIcon /icons/hand.right.gif README
  60. AddIcon /icons/folder.gif ^^DIRECTORY^^
  61. AddIcon /icons/blank.gif ^^BLANKICON^^
  62.  
  63. # DefaultIcon is which icon to show for files which do not have an icon
  64. # explicitly set.
  65.  
  66. DefaultIcon /icons/unknown.gif
  67.  
  68. # AddDescription allows you to place a short description after a file in
  69. # server-generated indexes.
  70. # Format: AddDescription "description" filename
  71.  
  72. # ReadmeName is the name of the README file the server will look for by
  73. # default. Format: ReadmeName name
  74. #
  75. # The server will first look for name.html, include it if found, and it will
  76. # then look for name and include it as plaintext if found.
  77. #
  78. # HeaderName is the name of a file which should be prepended to
  79. # directory indexes. 
  80.  
  81. ReadmeName README
  82. HeaderName HEADER
  83.  
  84. # IndexIgnore is a set of filenames which directory indexing should ignore
  85. # Format: IndexIgnore name1 name2...
  86.  
  87. IndexIgnore */.??* *~ *# */HEADER* */README* */RCS
  88.  
  89. # AccessFileName: The name of the file to look for in each directory
  90. # for access control information.
  91.  
  92. AccessFileName .htaccess
  93.  
  94. # DefaultType is the default MIME type for documents which the server
  95. # cannot find the type of from filename extensions.
  96.  
  97. DefaultType text/plain
  98.  
  99. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  100. # information on the fly. Note: Not all browsers support this.
  101.  
  102. AddEncoding x-compress Z
  103. AddEncoding x-gzip gz
  104.  
  105. # AddLanguage allows you to specify the language of a document. You can
  106. # then use content negotiation to give a browser a file in a language
  107. # it can understand.  Note that the suffix does not have to be the same
  108. # as the language keyword --- those with documents in Polish (whose
  109. # net-standard language code is pl) may wish to use "AddLanguage pl .po" 
  110. # to avoid the ambiguity with the common suffix for perl scripts.
  111.  
  112. AddLanguage en .en
  113. AddLanguage fr .fr
  114. AddLanguage de .de
  115. AddLanguage da .da
  116. AddLanguage el .el
  117. AddLanguage it .it
  118.  
  119. # LanguagePriority allows you to give precedence to some languages
  120. # in case of a tie during content negotiation.
  121. # Just list the languages in decreasing order of preference.
  122.  
  123. LanguagePriority en fr de
  124.  
  125. # Redirect allows you to tell clients about documents which used to exist in
  126. # your server's namespace, but do not anymore. This allows you to tell the
  127. # clients where to look for the relocated document.
  128. # Format: Redirect fakename url
  129.  
  130.  
  131. # Aliases: Add here as many aliases as you need (with no limit). The format is 
  132. # Alias fakename realname
  133.  
  134. #Alias /icons/ /usr/local/etc/httpd/icons/
  135.  
  136. # ScriptAlias: This controls which directories contain server scripts.
  137. # Format: ScriptAlias fakename realname
  138.  
  139. #ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/
  140.  
  141. # If you want to use server side includes, or CGI outside
  142. # ScriptAliased directories, uncomment the following lines.
  143.  
  144. # AddType allows you to tweak mime.types without actually editing it, or to
  145. # make certain files to be certain types.
  146. # Format: AddType type/subtype ext1
  147.  
  148. # AddHandler allows you to map certain file extensions to "handlers",
  149. # actions unrelated to filetype. These can be either built into the server
  150. # or added with the Action command (see below)
  151. # Format: AddHandler action-name ext1
  152.  
  153. # To use CGI scripts:
  154. #AddHandler cgi-script .cgi
  155.  
  156. # To use server-parsed HTML files
  157. #AddType text/html .shtml
  158. #AddHandler server-parsed .shtml
  159.  
  160. # Uncomment the following line to enable Apache's send-asis HTTP file
  161. # feature
  162. #AddHandler send-as-is asis
  163.  
  164. # If you wish to use server-parsed imagemap files, use
  165. #AddHandler imap-file map
  166.  
  167. # To enable type maps, you might want to use
  168. #AddHandler type-map var
  169.  
  170. # Action lets you define media types that will execute a script whenever
  171. # a matching file is called. This eliminates the need for repeated URL
  172. # pathnames for oft-used CGI file processors.
  173. # Format: Action media/type /cgi-script/location
  174. # Format: Action handler-name /cgi-script/location
  175.  
  176. # For example to add a footer (footer.html in your document root) to
  177. # files with extension .foot (e.g. foo.html.foot), you could use:
  178. #AddHandler foot-action foot
  179. #Action foot-action /cgi-bin/footer
  180.  
  181. # Or to do this for all HTML files, for example, use:
  182. #Action text/html /cgi-bin/footer
  183.  
  184. # MetaDir: specifies the name of the directory in which Apache can find
  185. # meta information files. These files contain additional HTTP headers
  186. # to include when sending the document
  187.  
  188. #MetaDir .web
  189.  
  190. # MetaSuffix: specifies the file name suffix for the file containing the
  191. # meta information.
  192.  
  193. #MetaSuffix .meta
  194.  
  195. # Customizable error response (Apache style)
  196. #  these come in three flavors
  197. #
  198. #    1) plain text
  199. #ErrorDocument 500 "The server made a boo boo.
  200. #  n.b.  the (") marks it as text, it does not get output
  201. #
  202. #    2) local redirects
  203. #ErrorDocument 404 /missing.html
  204. #  to redirect to local url /missing.html
  205. #ErrorDocument 404 /cgi-bin/missing_handler.pl
  206. #  n.b. can redirect to a script or a document using server-side-includes.
  207. #
  208. #    3) external redirects
  209. #ErrorDocument 402 http://other.server.com/subscription_info.html
  210. #
  211.