You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Qingshan Xie <xi...@yahoo.com> on 2005/11/09 05:38:00 UTC

[users@httpd] DSO: does the order of LoadModule matter?

All, 

   We have a Apache-2.0.52 running on a Linux host. 
We use mod_so to load modules appended below.  However
I am not very sure if those modules loaded in the
right order or the order matters?  Please advise.

Thx, Q.Xie
====================================================
LoadModule access_module modules/mod_access.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
#LoadModule include_module modules/mod_include.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
#LoadModule imap_module modules/mod_imap.so
#LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule asis_module modules/mod_asis.so
LoadModule dir_module modules/mod_dir.so
#LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule negotiation_module
modules/mod_negotiation.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule usertrack_module modules/mod_usertrack.so

# below 2 lines if an SSL web server
LoadModule ssl_module modules/mod_ssl.so
Include conf/ssl.conf



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] DSO: does the order of LoadModule matter?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Nick Kew wrote:
> On Wednesday 09 November 2005 19:48, William A. Rowe, Jr. wrote:
> 
>>But there are some 'hard dependencies' that have been missed (you can feel
>>free to log these as bugs), such as mod_ldap prior to mod_auth_ldap, etc.
> 
> Was "there shall never, ever be hard dependencies" discussed and resolved,
> or is that just your view on it?

It was a first-order design principal of the httpd-2.0 rewrite :)

Bill

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] DSO: does the order of LoadModule matter?

Posted by Nick Kew <ni...@webthing.com>.
On Wednesday 09 November 2005 19:48, William A. Rowe, Jr. wrote:

> But there are some 'hard dependencies' that have been missed (you can feel
> free to log these as bugs), such as mod_ldap prior to mod_auth_ldap, etc.

Was "there shall never, ever be hard dependencies" discussed and resolved,
or is that just your view on it?

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] DSO: does the order of LoadModule matter?

Posted by Qingshan Xie <xi...@yahoo.com>.
William,  Thx for your reply and help.  -QX

--- "William A. Rowe, Jr." <wr...@rowe-clan.net>
wrote:

> James Benson wrote:
> > Yes I think I remember seeing something about that
> in the apache docs, 
> > the order it ships with should not be changed!
> 
> That was true of 1.3.x (the order of all the hooks
> was controlled by the
> AddModule sequence, or if ClearModule was not
> invoked, the original load
> order.)
> 
> In 2.0 there are very minimal interactions.  All
> modules which export their
> optional hooks and functions in their register hook,
> and link to all other
> loaded modules' hooks and functions in their
> configuration phase, are
> completely immunue to ordering issues.
> 
> But there are some 'hard dependencies' that have
> been missed (you can feel
> free to log these as bugs), such as mod_ldap prior
> to mod_auth_ldap, etc.
> 
> Bill
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] DSO: does the order of LoadModule matter?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
James Benson wrote:
> Yes I think I remember seeing something about that in the apache docs, 
> the order it ships with should not be changed!

That was true of 1.3.x (the order of all the hooks was controlled by the
AddModule sequence, or if ClearModule was not invoked, the original load
order.)

In 2.0 there are very minimal interactions.  All modules which export their
optional hooks and functions in their register hook, and link to all other
loaded modules' hooks and functions in their configuration phase, are
completely immunue to ordering issues.

But there are some 'hard dependencies' that have been missed (you can feel
free to log these as bugs), such as mod_ldap prior to mod_auth_ldap, etc.

Bill

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] DSO: does the order of LoadModule matter?

Posted by James Benson <jb...@jamesbenson.co.uk>.
Yes I think I remember seeing something about that in the apache docs, 
the order it ships with should not be changed!





Qingshan Xie wrote:
> All, 
> 
>    We have a Apache-2.0.52 running on a Linux host. 
> We use mod_so to load modules appended below.  However
> I am not very sure if those modules loaded in the
> right order or the order matters?  Please advise.
> 
> Thx, Q.Xie
> ====================================================
> LoadModule access_module modules/mod_access.so
> LoadModule log_config_module modules/mod_log_config.so
> LoadModule env_module modules/mod_env.so
> #LoadModule include_module modules/mod_include.so
> LoadModule setenvif_module modules/mod_setenvif.so
> LoadModule mime_module modules/mod_mime.so
> #LoadModule imap_module modules/mod_imap.so
> #LoadModule autoindex_module modules/mod_autoindex.so
> #LoadModule asis_module modules/mod_asis.so
> LoadModule dir_module modules/mod_dir.so
> #LoadModule info_module modules/mod_info.so
> LoadModule cgi_module modules/mod_cgi.so
> LoadModule negotiation_module
> modules/mod_negotiation.so
> LoadModule actions_module modules/mod_actions.so
> LoadModule alias_module modules/mod_alias.so
> LoadModule rewrite_module modules/mod_rewrite.so
> LoadModule usertrack_module modules/mod_usertrack.so
> 
> # below 2 lines if an SSL web server
> LoadModule ssl_module modules/mod_ssl.so
> Include conf/ssl.conf
> 
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
>