home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / share / os2 / varios / apache / configur.tmp < prev    next >
Encoding:
Text File  |  1996-06-29  |  9.8 KB  |  273 lines

  1. # Config file for the Apache httpd.
  2.  
  3. # Configuration.tmpl is the template for Configuration. Configuration should
  4. # be edited to select system type. Configuration.tmpl should only be changed
  5. # when a new system or module is added, or an existing one modified.
  6.  
  7. # There are three types of lines here:
  8.  
  9. # '#' comments, distinguished by having a '#' as the first non-blank character
  10. #
  11. # Lines which set a Make option --- these are simply copied into the Makefile
  12. #
  13. # Module selection lines, distinguished by having 'Module' at the front.
  14. # These list the configured modules, in priority order (highest priority
  15. # first).  They're down at the bottom.
  16.  
  17. # First, ordinary compile-time configuration.
  18.  
  19. # What to call the compiler:  For normal machines with ANSI compilers
  20. # CC= cc
  21. # For Suns or other non-ANSI platforms. Please make sure your gcc is
  22. # 2.0 or later, as 1.40 seems to create bad code for the Sun 4.
  23. CC= gcc
  24.  
  25. # CFLAGS, compile flags.
  26.  
  27. # -DMINIMAL_DNS is now obsolete. Use httpd.conf settings of
  28. # HostnameLookups on
  29. # or
  30. # HostnameLookups off
  31. #
  32. # If you want to have more secure hostname resolution at the cost of some 
  33. # performance, use -DMAXIMUM_DNS.
  34. # If you want setting the xbit of a file to cause it to be treated as
  35. # server-included HTML (unless it is a CGI script), say -DXBITHACK.  Note
  36. # that this is a run-time option, per-directory, either way (via the XBITHACK
  37. # command); this option only sets the default.
  38.  
  39. # If you find that your OS can't cope with mmap (compiles OKAY but refuses
  40. # to run and moans "httpd: Could not mmap memory" .. or similar) try
  41. # disabling use of shared memory for process management (scoreboard with
  42. # -DNO_MMAP
  43.  
  44. # Status Instrumentation
  45. # In order for the status module to obtain full statistics Apache must
  46. # be modified to keep track of various information.  This is not
  47. # turned on by default. In order to enable full status details add -DSTATUS 
  48. # to the end of the CFLAGS line below.
  49.  
  50. # Using SOCKS
  51. # Apache can be compiled to work over a SOCKS firewall by 
  52. # adding the following string to your CFLAGS define:
  53. #
  54. #  -Dconnect=Rconnect -Dselect=Rselect -Dgethostbyname=Rgethostbyname
  55. #
  56. # and by adding the following to the EXTRA_LIBS define:
  57. #
  58. #  -L/usr/local/lib -lsocks
  59. #
  60. # making sure that -L points to wherever you've put libsocks.a.
  61.  
  62. # [Some other former Apache compile-time options are now treated differently;
  63. #  the virtual host code is always present; DBM auth is an optional module, and
  64. #  may be configured out by changing the module config below, though it still
  65. #  defaults in.  Note that this config file does not include DBM auth by
  66. #  default --- configure it in below if you need it].
  67.  
  68. CFLAGS= -O2
  69.  
  70. # Place here any flags you may need upon linking, such as a flag to
  71. # prevent dynamic linking (if desired)
  72. LFLAGS= 
  73.  
  74. # Place here any extra libraries you may need to link to. 
  75. # -lndbm is commonly required for DBM auth, if that is configured in.
  76. EXTRA_LIBS=
  77.  
  78. # AUX_CFLAGS are system-specific control flags.
  79. # NOTE: IF YOU DO NOT CHOOSE ONE OF THESE, EDIT httpd.h AND CHOOSE
  80. # SETTINGS FOR THE SYSTEM FLAGS. IF YOU DON'T, BAD THINGS WILL HAPPEN.
  81.  
  82. # For SunOS 4
  83. #AUX_CFLAGS= -DSUNOS4
  84. # For Solaris 2.
  85. #AUX_CFLAGS= -DSOLARIS2
  86. #AUX_LIBS= -lsocket -lnsl
  87. # For SGI IRIX. Use the AUX_LIBS line if you're using NIS and want
  88. # user-supported directories
  89. #AUX_CFLAGS= -DIRIX
  90. #AUX_LIBS= -lsun
  91. # For HP-UX       n.b. if you use the paid-for HP CC compiler, use flag -Ae
  92. #AUX_CFLAGS= -DHPUX
  93. # For AIX
  94. #AUX_CFLAGS= -DAIX -U__STR__
  95. # For Ultrix
  96. #AUX_CFLAGS= -DULTRIX
  97. # For DEC OSF/1
  98. #AUX_CFLAGS= -DOSF1
  99. # For NeXT
  100. #AUX_CFLAGS= -DNEXT
  101. # For Sequent
  102. #AUX_CFLAGS= -DSEQUENT
  103. # For Linux -m486 ONLY IF YOU HAVE 486 BINARY SUPPORT IN KERNEL
  104. #AUX_CFLAGS= -DLINUX
  105. # For A/UX
  106. #AUX_CFLAGS= -DAUX -D_POSIX_SOURCE
  107. #AUX_LIBS= -lposix -lbsd -s
  108. # For SCO ODT 3
  109. # libcrypt_i available from sosco.sco.com, files /SLS/lng225b.Z and
  110. # /SLS/lng225b.ltr.Z
  111. # the -Oe option causes cc to die compiling mod_imap (using 3.0.0a of the dev sys)
  112. #CFLAGS= -Oacgiltz
  113. #AUX_CFLAGS= -DSCO
  114. #AUX_LIBS= -lPW -lsocket -lmalloc -lcrypt_i
  115. # For SCO OpenServer Release 5
  116. # -K noinline is needed to work around an optimiser bug which appears in
  117. # http_bprintf.c
  118. #AUX_CFLAGS= -DSCO5
  119. #AUX_LIBS=-lsocket -lmalloc -lprot
  120. #BROKEN_BPRINTF_FLAGS=-K noinline
  121. # For SVR4
  122. # Some SVR4 implementations will require SO_LINGER option to be set in order
  123. # to guarantee buffer flushes. Dell, Esix, and UnixWare are a few of these.
  124. # Use -DNEED_LINGER in addition to other AUX_CFLAGS for these.
  125. #AUX_CFLAGS= -DSVR4
  126. #AUX_LIBS= -lsocket -lnsl -lc
  127. # For UnixWare 2.x, no longer just SVR4 (sigh) - use cc, not gcc
  128. # AUX_LIBS= -lsocket -lnsl -lcrypt
  129. # For Amdahl UTS 2.1
  130. # -Xa enables ANSI mode, -eft is expanded types
  131. #AUX_CFLAGS= -Xa -eft -DUTS21
  132. #AUX_LIBS= -lsocket -lbsd -la
  133. # For HP/Apollo Domain/OS
  134. #AUX_CFLAGS= -DAPOLLO
  135. # For NetBSD/FreeBSD/BSDI 2.x
  136. # -m486 only if you are running on Intel 486/586
  137. #AUX_CFLAGS= -m486
  138. # BSDI doesn't need -lcrypt
  139. #AUX_LIBS= -lcrypt
  140. # For QNX
  141. #AUX_CFLAGS= -DQNX
  142. #AUX_LFLAGS= -N 0x20000
  143. # For LynxOS
  144. #AUX_CFLAGS= -DLYNXOS
  145. #EXTRA_LIBS=-lbsd -ldes -lc_p
  146. # For DG/UX 5.4
  147. #AUX_CFLAGS= -DDGUX
  148. #AUX_LIBS=
  149.  
  150. # For EMX OS/2 port
  151. #AUX_CFLAGS= -Zbsd-signals -Zbin-files
  152. #-DNO_KILLPG -DNEED_STRCASECMP -DNO_SETSID
  153. #-g
  154. #AUX_LIBS= -lsocket -llibufc -lgdbm -lbsd
  155.  
  156. ################################################################
  157. # Module configuration
  158. #
  159. # Modules are listed in reverse priority order --- the ones that come
  160. # later can override the behavior of those that come earlier.  This
  161. # can have visible effects; for instance, if UserDir followed Alias,
  162. # you couldn't alias out a particular user's home directory.
  163.  
  164. # The configuration below is what we consider a decent default 
  165. # configuration.  If you want the functionality provided by a particular
  166. # module, remove the "#" sign at the beginning of the line. But remember, 
  167. # the more modules you compile into the server, the larger the executable
  168. # is and the more memory it will take, so if you are unlikely to use the
  169. # functionality of a particular module you might wish to leave it out.
  170.  
  171. ## Basic modules (i.e., generally useful stuff that works everyplace):
  172. ## You should probably not comment out any of these unless you know what it
  173. ## does and you know you won't need it.
  174.  
  175. Module mime_module         mod_mime.o
  176. Module access_module       mod_access.o
  177. Module auth_module         mod_auth.o
  178. Module negotiation_module  mod_negotiation.o
  179. Module includes_module     mod_include.o
  180. Module dir_module          mod_dir.o
  181. Module cgi_module          mod_cgi.o
  182. Module userdir_module      mod_userdir.o
  183. Module alias_module        mod_alias.o
  184. Module env_module          mod_env.o
  185. Module common_log_module   mod_log_common.o
  186.  
  187. ## The asis module implemented ".asis" file types, which allow the embedding
  188. ## of HTTP headers at the beginning of the document.  mod_imap handles internal 
  189. ## imagemaps (no more cgi-bin/imagemap/!).  mod_actions is used to specify 
  190. ## CGI scripts which act as "handlers" for particular files, for example to
  191. ## automatically convert every GIF to another file type.
  192.  
  193. Module asis_module         mod_asis.o
  194. Module imap_module         mod_imap.o
  195. Module action_module       mod_actions.o
  196.  
  197. ## Optional modules for NCSA user-agent/referer logging compatibility
  198. ## We recommend, however, that you migrate to the configurable logging
  199. ## module, below.
  200.  
  201. # Module agent_log_module    mod_log_agent.o
  202. # Module referer_log_module  mod_log_referer.o
  203.  
  204. ## This is a *replacement* for mod_log_common which supports a
  205. ## LogFormat directive which allows you to specify what goes into 
  206. ## the TransferLog (if you want Referer, etc.)  source code for docs.
  207. ##
  208. ## If you play with this, remember to drop the standard
  209. ## mod_log_common --- a server with both will work, but you'll get
  210. ## very confused trying to figure out what's going on...
  211.  
  212. # Module config_log_module   mod_log_config.o
  213.  
  214. ## cern_meta mimicks the behavior of the CERN web server with regards to 
  215. ## metainformation files.  
  216.  
  217. # Module cern_meta_module    mod_cern_meta.o
  218.  
  219. ## The status module allows the server to display current details about 
  220. ## how well it is performing and what it is doing.  Consider also enabling 
  221. ## -DSTATUS (see the CFLAGS section near the start of the file) to allow
  222. ## full status information.  Check conf/access.conf on how to enable this.
  223.  
  224. # Module status_module         mod_status.o
  225.  
  226. ## The Info module displays configuration information for the server and 
  227. ## all included modules. It's very useful for debugging.
  228.  
  229. # Module info_module         mod_info.o
  230.  
  231. ## Optional authentication modules. 
  232. ##
  233. ## The anon_auth module allows for anonymous-FTP-style username/ 
  234. ## password authentication.
  235.  
  236. # Module anon_auth_module    mod_auth_anon.o
  237.  
  238. ## db_auth and dbm_auth work with Berkeley DB files - make sure there
  239. ## is support for DBM files on your system.  You may need to grab the GNU
  240. ## "gdbm" package if not.
  241.  
  242. # Module db_auth_module      mod_auth_db.o
  243. # Module dbm_auth_module     mod_auth_dbm.o
  244.  
  245. ## msql_auth checks against an MSQL database.  You must have MSQL installed
  246. ## and an "msql.h" available for this to even compile.  Additionally,
  247. ## you may need to add a couple entries to the CFLAGS line, like
  248. ##
  249. ##  -lmsql -L/usr/local/lib -L/usr/local/Minerva/lib
  250. ##
  251. ## This depends on your installation of MSQL.
  252.  
  253. # Module msql_auth_module    mod_auth_msql.o
  254.  
  255. ## "digest" implements HTTP Digest Authentication rather than the less 
  256. ## secure Basic Auth used by the other modules.
  257.  
  258. # Module digest_module       mod_digest.o
  259.  
  260. ## Outright experiments --- mod_dld defines commands which
  261. ## allows other modules to be loaded in at runtime, and mod_cookies
  262. ## uses Netscape cookies to automatically construct and log accurate
  263. ## click-trails from Netscape cookies, for Netscape-using clients who
  264. ## aren't coming in via proxy.   
  265.  
  266. # Module dld_module         mod_dld.o
  267. # Module cookies_module      mod_cookies.o
  268.  
  269. ## Finally, the proxy module.  It's not as complete as it could
  270. ## be yet, so use at your own risk.
  271.  
  272. # Module proxy_module        mod_proxy.o
  273.