You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1998/04/16 03:23:01 UTC

[PATCH] httpd.conf-dist

Hi,

IMHO we should mention in httpd.conf-dist that the ordering
of the LoadModule directives is very important.

I think we will get strange bug reports if people start
to change the order of the directives or add other LoadModule
directives to the list.

Patch appended.
(The patch also fixes a little typo in the 'Port' comment.)


BTW, Debian-Linux (Apache 1.3b5 package) uses mod_dlopen (a
proprietary module?) by default, but the ordering of
the AddModule directives in the default httpd.conf is
IMHO totally screwed. I've never used AddModule, but I think
the ordering has the same effect as it has with LoadModule... e.g.
mod_userdir has a higher priority than mod_alias if it appears
after mod_alias in the config.
Recently someone using this Debian package complained in a
german newsgroup that he is not able to Redirect a /~user/ to
another location. :-/

Here is the relevant part from the Debian httpd.conf:

# LoadModule: This is how one can dynamically load an Apache module at 
# run time.
# Please keep this LoadModule: line here, it is needed for installation.
ClearModuleList
AddModule mod_dlopen.c
AddModule mod_actions.c
AddModule mod_access.c
# AddModule mod_auth_anon.c
AddModule mod_alias.c
AddModule mod_asis.c
AddModule mod_auth.c
AddModule mod_autoindex.c
# AddModule mod_cern_meta.c
AddModule mod_cgi.c
# AddModule mod_digest.c
AddModule mod_dir.c
# AddModule mod_env.c
AddModule mod_expires.c
# AddModule mod_headers.c
AddModule mod_imap.c
AddModule mod_include.c
AddModule mod_info.c
AddModule mod_log_config.c
# AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
# AddModule mod_setenvif.c
# AddModule mod_speling.c
AddModule mod_status.c
AddModule mod_unique_id.c
AddModule mod_userdir.c
# AddModule mod_usertrack.c
AddModule mod_rewrite.c
AddModule mod_autoindex.c



ciao...
-- 
Lars Eilebrecht                            - I still miss Windows...
sfx@unix-ag.org                         - but my aim is getting better.
http://www.home.unix-ag.org/sfx/