You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/10/04 09:00:19 UTC

cvs commit: httpd-docs-1.3/htdocs/manual win_compiling.html

wrowe       01/10/04 00:00:19

  Modified:    conf     httpd.conf-dist-win
               htdocs/manual win_compiling.html
  Log:
    LoadModule isn't sufficient.  Quick testing of foo.pdf.gz files
    (with a mime types declaration of app/x-pdf rather than app/pdf)
    still returns app/pdf - so mime_magic is run first.  Other modules
    may have been similarly misordered.
  
    This patch creates an absolute reference of all modules to Add.
    If I've misworded anything, feel free to correct me.  The module
    order itself is straight from www.apache.org's conf.
  
  Revision  Changes    Path
  1.60      +51 -16    apache-1.3/conf/httpd.conf-dist-win
  
  Index: httpd.conf-dist-win
  ===================================================================
  RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist-win,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- httpd.conf-dist-win	2001/10/04 05:49:42	1.59
  +++ httpd.conf-dist-win	2001/10/04 07:00:19	1.60
  @@ -158,22 +158,6 @@
   #BindAddress *
   
   #
  -# Apache Modules compiled into the standard Windows build
  -#
  -# The following modules are bound into the standard Apache binary distribution
  -# for Windows.  To change the standard behavior, uncomment the following lines 
  -# and modify the list of those specific modules to be enabled in the server.
  -#
  -# WARNING: This is an advanced option that may render your server inoperable!
  -# Do not use these directives without expert guidance.
  -#
  -#ClearModuleList
  -#AddModule mod_so.c mod_mime.c mod_access.c mod_auth.c mod_negotiation.c
  -#AddModule mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_userdir.c
  -#AddModule mod_alias.c mod_env.c mod_log_config.c mod_asis.c mod_imap.c
  -#AddModule mod_actions.c mod_setenvif.c mod_isapi.c
  -
  -#
   # Dynamic Shared Object (DSO) Support
   #
   # To be able to use the functionality of a module which was built as a DSO you
  @@ -187,6 +171,9 @@
   # Note: The order in which modules are loaded is important.  Don't change
   # the order below without expert advice.
   #
  +# Example:
  +# LoadModule foo_module modules/mod_foo.so
  +#
   #LoadModule vhost_alias_module modules/mod_vhost_alias.so
   #LoadModule mime_magic_module modules/mod_mime_magic.so
   #LoadModule status_module modules/mod_status.so
  @@ -203,6 +190,54 @@
   #LoadModule headers_module modules/mod_headers.so
   #LoadModule usertrack_module modules/mod_usertrack.so
   #LoadModule unique_id_module modules/mod_unique_id.so
  +
  +#
  +#  Reconstruction of the complete module list from all available modules
  +#  (static and shared ones) to achieve correct module execution order.
  +#
  +# The modules listed below, without a corresponding LoadModule directive,
  +# are static bound into the standard Apache binary distribution for Windows.
  +#
  +# Note: The order in which modules are loaded is important.  Don't change
  +# the order below without expert advice.
  +#
  +# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS TOO!]
  +ClearModuleList
  +AddModule mod_vhost_alias.c
  +AddModule mod_env.c
  +AddModule mod_log_config.c
  +#AddModule mod_mime_magic.c
  +AddModule mod_mime.c
  +AddModule mod_negotiation.c
  +#AddModule mod_status.c
  +#AddModule mod_info.c
  +AddModule mod_include.c
  +AddModule mod_autoindex.c
  +AddModule mod_dir.c
  +AddModule mod_isapi.c
  +AddModule mod_cgi.c
  +AddModule mod_asis.c
  +AddModule mod_imap.c
  +AddModule mod_actions.c
  +#AddModule mod_speling.c
  +AddModule mod_userdir.c
  +AddModule mod_alias.c
  +#AddModule mod_rewrite.c
  +AddModule mod_access.c
  +AddModule mod_auth.c
  +#AddModule mod_auth_anon.c
  +#AddModule mod_auth_dbm.c
  +#AddModule mod_auth_digest.c
  +#AddModule mod_digest.c
  +#AddModule mod_proxy.c
  +#AddModule mod_cern_meta.c
  +#AddModule mod_expires.c
  +#AddModule mod_headers.c
  +#AddModule mod_usertrack.c
  +#AddModule mod_unique_id.c
  +AddModule mod_so.c
  +AddModule mod_setenvif.c
  +
   
   #
   # ExtendedStatus controls whether Apache will generate "full" status
  
  
  
  1.13      +1 -0      httpd-docs-1.3/htdocs/manual/win_compiling.html
  
  Index: win_compiling.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/win_compiling.html,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- win_compiling.html	2001/10/04 03:30:07	1.12
  +++ win_compiling.html	2001/10/04 07:00:19	1.13
  @@ -156,6 +156,7 @@
         <li><code>os\win32\mod_expires.dsp</code></li>
         <li><code>os\win32\mod_headers.dsp</code></li>
         <li><code>os\win32\mod_info.dsp</code></li>
  +      <li><code>os\win32\mod_mime_magic.dsp</code></li>
         <li><code>os\win32\mod_proxy.dsp</code></li>
         <li><code>os\win32\mod_rewrite.dsp</code></li>
         <li><code>os\win32\mod_speling.dsp</code></li>