|
Hey Guys,
I have been racking my brain over this all day. Im trying to disable some of the core apache modules while compiling apache. Apache appears to compile without issue, but it still shows the modules being loaded!
These are the configure parameters I have tried:
./configure --enable-so --enable-rewrite=shared --prefix=/usr/local/apache2/ --disable-userdir --disable-actions --disable-negotiation --disable-cgi --disable-asis --disable-autoindex --disable-status --disable-env --disable-filter --disable-include
./configure --enable-so --enable-rewrite=shared --prefix=/usr/local/apache2/ --enable-userdir=no --enable-actions=no --enable-negotiation=no --enable-cgi=no --enable-asis=no --enable-autoindex=no --enable-status=no --enable-env=no --enable-filter=no --enable-include=no
I have also tried both these method with just 1 module to test out. As far as I see it compiles without issue, it even says these modules will not be included:
checking whether to enable mod_status... no
checking whether to enable mod_autoindex... no
checking whether to enable mod_asis... no
checking whether to enable mod_info... no
checking whether to enable mod_suexec... no
checking whether to enable mod_cgi... no
checking whether to enable mod_cgid... no
checking whether to enable mod_dav_fs... no
checking whether to enable mod_dav_lock... no
checking whether to enable mod_vhost_alias... no
checking whether to enable mod_negotiation... no
checking whether to enable mod_dir... yes (default)
checking whether to enable mod_imagemap... no
checking whether to enable mod_actions... no
checking whether to enable mod_speling... no
checking whether to enable mod_userdir... no
checking whether to enable mod_alias... yes (default)
checking whether to enable mod_rewrite... shared
But yet, every time (and i have tried this on 2 different servers, thought they are the same exact setup) it shows the modules loaded:
[root@dev httpd-2.2.11]# httpd -M
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)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
setenvif_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
so_module (static)
rewrite_module (shared)
Syntax OK
[root@dev httpd-2.2.11]#
I just dont know.. I dont see any errors during the configure, make, or make install. I am removing the the Apache install everytime prior to the next (i just remove /usr/loca/apache2).
Are there additional compile logs? Any help would be grealty appreciated!
Last edited by bmp99; 07-18-2009 at 10:17 PM..
|