The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache LoudModule Orde

Discussion in 'EasyApache' started by PanelGuy, Oct 28, 2005.

  1. PanelGuy

    PanelGuy Well-Known Member

    Joined:
    Oct 13, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Apache LouModule Order

    It's my understanding tha the order in which modules are loaded in httpd.conf.

    I cannot get mod_dir to work, it causes a segfault. I have played with the order for days.

    Same with PHP 5.0.4.

    Here is my list, can anyone explain the correct order:


    LoadModule mod_dir libexec/mod_dir.so
    LoadModule rewrite_module libexec/mod_rewrite.so
    LoadModule expires_module libexec/mod_expires.so
    #LoadModule php4_module libexec/libphp4.so
    LoadModule bwlimited_module libexec/mod_bwlimited.so
    LoadModule bytes_log_module libexec/mod_log_bytes.so
    LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
    LoadModule bandwidth_module libexec/mod_bandwidth.so
    LoadModule security_module libexec/mod_security.so
    # LoadModule jk_module libexec/mod_.so
    LoadModule jk_module libexec/mod_jk.so
    LoadModule php5_module libexec/libphp5.so
    LoadModule gzip_module libexec/mod_gzip.so

    # Reconstruction of the complete module list from all available modules
    # (static and shared ones) to achieve correct module execution order.
    # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
    ClearModuleList
    AddModule mod_env.c
    AddModule mod_log_config.c
    AddModule mod_mime.c
    AddModule mod_negotiation.c
    AddModule mod_status.c
    AddModule mod_include.c
    AddModule mod_autoindex.c
    AddModule mod_cgi.c
    AddModule mod_asis.c
    AddModule mod_imap.c
    AddModule mod_actions.c
    AddModule mod_userdir.c
    AddModule mod_alias.c
    AddModule mod_access.c
    AddModule mod_auth.c
    AddModule mod_so.c
    AddModule mod_setenvif.c
    # AddModule mod_so.c
    <IfDefine SSL>
    AddModule mod_ssl.c
    </IfDefine>
    AddModule mod_frontpage.c
    AddModule mod_dir.c
    AddModule mod_rewrite.c
    AddModule mod_expires.c
    #AddModule mod_php4.c
    AddModule mod_bwlimited.c
    AddModule mod_log_bytes.c
    AddModule mod_auth_passthrough.c
    AddModule mod_bandwidth.c
    AddModule mod_security.c
    AddModule mod_jk.c
    Include "/usr/local/apache/conf/jk.conf"
    Include "/usr/local/apache/conf/modsec.conf"
    AddModule mod_php5.c
    AddModule mod_gzip.c
     
    #1 PanelGuy, Oct 28, 2005
    Last edited: Oct 28, 2005
Loading...

Share This Page