home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Web / Servers / apache-1.2.4-MIHS / original-source / src / Configuration < prev    next >
Encoding:
Text File  |  1997-08-22  |  10.4 KB  |  290 lines

  1. # Config file for the Apache httpd.
  2.  
  3. # Configuration.tmpl is the template for Configuration. Configuration should
  4. # be edited to select the modules to be included as well as various flags
  5. # for Makefile.
  6.  
  7. # The template should only be changed when a new system or module is added,
  8. # or an existing one modified. This will also most likely require some minor
  9. # changes to Configure to recognize those changes.
  10.  
  11. # There are 5 types of lines here:
  12.  
  13. # '#' comments, distinguished by having a '#' as the first non-blank character
  14. #
  15. # Makefile options, such as CC=gcc, etc...
  16. #
  17. # Rules, distinquished by having "Rule" at the front. These are used to
  18. # control Configure's behavior as far as how to create Makefile.
  19. #
  20. # Module selection lines, distinguished by having 'Module' at the front.
  21. # These list the configured modules, in priority order (highest priority
  22. # first).  They're down at the bottom.
  23. #
  24. # Optional module selection lines, distinguished by having `%Module'
  25. # at the front.  These specify a module that is to be compiled in (but
  26. # not enabled).  The AddModule directive can be used to enable such a
  27. # module.  By default no such modules are defined.
  28.  
  29.  
  30. ################################################################
  31. # Makefile configuration
  32. #
  33. # These are added to the general flags determined by Configure.
  34. # Edit these to work around Configure if needed. The EXTRA_* family
  35. # will be added to the regular Makefile flags. For example, if you
  36. # want to compile with -Wall, then add that to EXTRA_CFLAGS. These
  37. # will be added to whatever flags Configure determines as appropriate
  38. # and needed for your platform.
  39. #
  40. # You can also set the compiler and Optimization used here as well.
  41. # Settings here have priority; If not set, Configure will attempt to guess
  42. # the C compiler, and set OPTIM to '-O2'
  43. #
  44. EXTRA_CFLAGS=
  45. EXTRA_LFLAGS=
  46. EXTRA_LIBS=
  47. EXTRA_INCLUDES=
  48.  
  49. #CC=
  50. #OPTIM=-O2
  51. #RANLIB=
  52.  
  53. ################################################################
  54. # Rules configuration
  55. #
  56. # These are used to let Configure know that we want certain
  57. # functions. The format is: Rule RULE=value
  58. #
  59. # At present, only the following RULES are known: WANTHSREGEX, SOCKS4,
  60. # STATUS, and IRIXNIS.
  61. #
  62. # For all Rules, if set to "yes", then Configure knows we want that
  63. # capability and does what is required to add it in. If set to "default"
  64. # then Configure makes a "best guess"; if set to anything else, or not
  65. # present, then nothing is done.
  66. #
  67. # SOCKS4:
  68. #  If SOCKS4 is set to 'yes', be sure that you add the sock library
  69. #  location to EXTRA_LIBS, otherwise Configure will assume
  70. #  "-L/usr/local/lib -lsocks"
  71. #
  72. # STATUS:
  73. #  If Configure determines that you are using the status_module,
  74. #  it will automatically enable full status information if set
  75. #  to 'yes'. If the status module is not included, having STATUS
  76. #  set to 'yes' has no impact.
  77. #
  78. # IRIXNIS:
  79. #  Only takes effect if Configure determines that you are running
  80. #  SGI IRIX. If you are, and you are using NIS, you should set this
  81. #  to 'yes'
  82. #
  83.  
  84. Rule STATUS=yes
  85. Rule SOCKS4=no
  86. Rule IRIXNIS=no
  87.  
  88. # The following rules should be set automatically by Configure. However, if
  89. # they are not set by Configure (because we don't know the correct value for
  90. # your platform), or are set incorrectly, you may override them here.
  91. # If you have to do this, please let us know what you set and what your
  92. # platform is, by filling out a problem report form at the Apache web site:
  93. # <http://www.apache.org/bugdb.cgi>.  If your browser is forms-incapable,
  94. # you can get the information to us by sending mail to apache-bugs@apache.org.
  95. #
  96. # WANTHSREGEX:
  97. #  Apache requires a POSIX regex implementation. Henry Spencer's
  98. #  excellent regex package is included with Apache and can be used
  99. #  if desired. If your OS has a decent regex, you can elect to
  100. #  not use this one by setting WANTHSREGEX to 'no' or commenting
  101. #  out the Rule. The "default" action is "no" unless overruled
  102. #  by OS specifics
  103.  
  104. Rule WANTHSREGEX=default
  105.  
  106. ################################################################
  107. # Module configuration
  108. #
  109. # Modules are listed in reverse priority order --- the ones that come
  110. # later can override the behavior of those that come earlier.  This
  111. # can have visible effects; for instance, if UserDir followed Alias,
  112. # you couldn't alias out a particular user's home directory.
  113.  
  114. # The configuration below is what we consider a decent default 
  115. # configuration.  If you want the functionality provided by a particular
  116. # module, remove the "#" sign at the beginning of the line. But remember, 
  117. # the more modules you compile into the server, the larger the executable
  118. # is and the more memory it will take, so if you are unlikely to use the
  119. # functionality of a particular module you might wish to leave it out.
  120.  
  121. ##
  122. ## Config manipulation modules
  123. ##
  124. ## mod_env sets up additional or restricted environment variables to be
  125. ## passed to CGI/SSI scripts.  It is listed first (lowest priority) since
  126. ## it does not do per-request stuff.
  127.  
  128. Module env_module          mod_env.o
  129.  
  130. ## mod_dld defines commands that allow other modules to be loaded
  131. ## dynamically (at runtime).  This module is for experimental use only.
  132.  
  133. # Module dld_module          mod_dld.o
  134.  
  135. ##
  136. ## Request logging modules
  137. ##
  138.  
  139. Module config_log_module   mod_log_config.o
  140.  
  141. ## Optional modules for NCSA user-agent/referer logging compatibility
  142. ## We recommend, however, that you just use the configurable access_log.
  143.  
  144. # Module agent_log_module    mod_log_agent.o
  145. # Module referer_log_module  mod_log_referer.o
  146.  
  147. ##
  148. ## Type checking modules
  149. ##
  150. ## mod_mime maps filename extensions to content types, encodings, and
  151. ## magic type handlers (the latter is obsoleted by mod_actions).
  152. ## mod_negotiation allows content selection based on the Accept* headers.
  153.  
  154. Module mime_module         mod_mime.o
  155. Module negotiation_module  mod_negotiation.o
  156.  
  157. ##
  158. ## Content delivery modules
  159. ##
  160. ## The status module allows the server to display current details about 
  161. ## how well it is performing and what it is doing.  Consider also enabling 
  162. ## STATUS=yes (see the Rules section near the start of this file) to allow
  163. ## full status information.  Check conf/access.conf on how to enable this.
  164.  
  165. # Module status_module       mod_status.o
  166.  
  167. ## The Info module displays configuration information for the server and 
  168. ## all included modules. It's very useful for debugging.
  169.  
  170. # Module info_module         mod_info.o
  171.  
  172. ## mod_include translates server-side include (SSI) statements in text files.
  173. ## mod_dir handles requests on directories and directory indexes.
  174. ## mod_cgi handles CGI scripts.
  175.  
  176. Module includes_module     mod_include.o
  177. Module dir_module          mod_dir.o
  178. Module cgi_module          mod_cgi.o
  179.  
  180. ## The asis module implemented ".asis" file types, which allow the embedding
  181. ## of HTTP headers at the beginning of the document.  mod_imap handles internal 
  182. ## imagemaps (no more cgi-bin/imagemap/!).  mod_actions is used to specify 
  183. ## CGI scripts which act as "handlers" for particular files, for example to
  184. ## automatically convert every GIF to another file type.
  185.  
  186. Module asis_module         mod_asis.o
  187. Module imap_module         mod_imap.o
  188. Module action_module       mod_actions.o
  189.  
  190. ##
  191. ## URL translation modules.
  192. ##
  193. ## The UserDir module for selecting resource directories by user name
  194. ## and a common prefix, e.g., /~<user> , /usr/web/<user> , etc.
  195.  
  196. Module userdir_module      mod_userdir.o
  197.  
  198. ## The proxy module enables the server to act as a proxy for outside
  199. ## http and ftp services. It's not as complete as it could be yet.
  200. ## NOTE: You do not want this module UNLESS you are running a proxy;
  201. ##       it is not needed for normal (origin server) operation.
  202.  
  203. # Module proxy_module        modules/proxy/libproxy.a
  204.  
  205. ## The Alias module provides simple URL translation and redirection.
  206.  
  207. Module alias_module        mod_alias.o
  208.  
  209. ## mod_rewrite allows for powerful URI-to-URI and URI-to-filename mapping,
  210. ## using regular expressions.
  211.  
  212. # Module rewrite_module      mod_rewrite.o
  213.  
  214. ##
  215. ## Access control and authentication modules. 
  216. ##
  217. Module access_module       mod_access.o
  218. Module auth_module         mod_auth.o
  219.  
  220. ## The anon_auth module allows for anonymous-FTP-style username/ 
  221. ## password authentication.
  222.  
  223. # Module anon_auth_module    mod_auth_anon.o
  224.  
  225. ## db_auth and dbm_auth work with Berkeley DB files - make sure there
  226. ## is support for DBM files on your system.  You may need to grab the GNU
  227. ## "gdbm" package if not and possibly adjust EXTRA_LIBS. (This may be
  228. ## done by Configure at a later date)
  229.  
  230. # Module db_auth_module      mod_auth_db.o
  231. # Module dbm_auth_module     mod_auth_dbm.o
  232.  
  233. ## msql_auth checks against an mSQL database.  You must have mSQL installed
  234. ## and an "msql.h" available for this to even compile.  Additionally,
  235. ## you may need to add a couple entries to the EXTRA_LIBS line, like
  236. ##
  237. ##  -lmsql -L/usr/local/lib -L/usr/local/Minerva/lib
  238. ##
  239. ## This depends on your installation of mSQL. (This may be done by Configure
  240. ## at a later date)
  241.  
  242. # Module msql_auth_module    mod_auth_msql.o
  243.  
  244. ## "digest" implements HTTP Digest Authentication rather than the less 
  245. ## secure Basic Auth used by the other modules.
  246.  
  247. # Module digest_module       mod_digest.o
  248.  
  249. ## Optional response header manipulation modules. 
  250. ##
  251. ## cern_meta mimics the behavior of the CERN web server with regards to 
  252. ## metainformation files.  
  253.  
  254. # Module cern_meta_module    mod_cern_meta.o
  255.  
  256. ## The expires module can apply Expires: headers to resources,
  257. ## as a function of access time or modification time.
  258.  
  259. # Module expires_module      mod_expires.o
  260.  
  261. ## The headers module can set arbitrary HTTP response headers,
  262. ## as configured in server, vhost, access.conf or .htaccess configs
  263.  
  264. # Module headers_module      mod_headers.o
  265.  
  266. ## Miscellaneous modules
  267. ##
  268. ## mod_usertrack.c is the new name for mod_cookies.c.  This module
  269. ## uses Netscape cookies to automatically construct and log
  270. ## click-trails from Netscape cookies, or compatible clients who
  271. ## aren't coming in via proxy.   
  272. ##
  273. ## You do not need this, or any other module to allow your site
  274. ## to use Cookies.  This module is for user tracking only
  275.  
  276. # Module usertrack_module      mod_usertrack.o
  277.  
  278. ## The example module, which demonstrates the use of the API.  See
  279. ## the file modules/example/README for details.  This module should
  280. ## only be used for testing -- DO NOT ENABLE IT on a production server.
  281.  
  282. # Module example_module      modules/example/mod_example.o
  283.  
  284. ## mod_browser lets you set environment variables based on the User-Agent
  285. ## string in the request; this is useful for conditional HTML, for example.
  286. ## Since it is also used to detect buggy browsers for workarounds, it
  287. ## should be the last (highest priority) module.
  288.  
  289. Module browser_module      mod_browser.o
  290.