<![CDATA[Latest posts for the topic "Thắc mắc về module trong Apache 2.4"]]> /hvaonline/posts/list/24.html JForum - http://www.jforum.net Thắc mắc về module trong Apache 2.4 ./configure --prefix=/etc/apache2 --with-mpm=prefork --enable-so --enable-rewrite --enable-alias --enable-unique-id --enable-headers --disable-cgi --disable-include --disable-asis --disable-negotiation --disable-actions --disable-userdir --disable-env --disable-status sau đó em check modules thì kết quả như sau: Code:
Loaded Modules:
 core_module (static)
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
 filter_module (static)
 log_config_module (static)
 headers_module (static)
 unique_id_module (static)
 setenvif_module (static)
 version_module (static)
 mpm_prefork_module (static)
 http_module (static)
 mime_module (static)
 autoindex_module (static)
 dir_module (static)
 actions_module (static)
 userdir_module (static)
 alias_module (static)
 rewrite_module (static)
 so_module (static)
Syntax OK
Tuy nhiên khi compile apache version 2.4 thì kết quả lại khác Code:
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_prefork_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)
Trong apache 2.2 thì module ở dang static , còn apache 2.4 thì ở dạng shared Mong mọi người giải đáp thắc mắc của em . Thanks]]>
/hvaonline/posts/list/42703.html#265473 /hvaonline/posts/list/42703.html#265473 GMT
Thắc mắc về module trong Apache 2.4 By default enabled modules are linked statically. You can force this explicitly. Code:
http://httpd.apache.org/docs/2.2/programs/configure.html
Với Apache 2.4 --enable-MODULE=shared The corresponding module will be build as DSO module. By default enabled modules are linked dynamically. Code:
http://httpd.apache.org/docs/2.4/programs/configure.html
]]>
/hvaonline/posts/list/42703.html#265489 /hvaonline/posts/list/42703.html#265489 GMT
Thắc mắc về module trong Apache 2.4

somenuchi wrote:
Tài liệu của apache viết khá chi tiết, bạn nêu đọc kĩ trước. Với apache 2.2 --enable-MODULE=static By default enabled modules are linked statically. You can force this explicitly. Code:
http://httpd.apache.org/docs/2.2/programs/configure.html
Với Apache 2.4 --enable-MODULE=shared The corresponding module will be build as DSO module. By default enabled modules are linked dynamically. Code:
http://httpd.apache.org/docs/2.4/programs/configure.html
 
Thanks for sharing]]>
/hvaonline/posts/list/42703.html#265490 /hvaonline/posts/list/42703.html#265490 GMT
Thắc mắc về module trong Apache 2.4 Code:
--disable-FEATURE --enable-MODULE=static --enable-mods-static=few
]]>
/hvaonline/posts/list/42703.html#269600 /hvaonline/posts/list/42703.html#269600 GMT