Reply
Cannot disable Apache modules during compile
Old 07-18-2009, 10:11 PM Cannot disable Apache modules during compile
Skilled Talker

Posts: 53
Name: Brian
Trades: 0
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..
bmp99 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-20-2009, 08:54 PM Re: Cannot disable Apache modules during compile
Skilled Talker

Posts: 53
Name: Brian
Trades: 0
Just an updated:

I still havent figured this out

I even tried to with an older version of Apache (2.0.something). It must been something in my surrounding environment, or I have not compiled it correctly.
bmp99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Cannot disable Apache modules during compile
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10801 seconds with 13 queries