Forum Moderators: phranque
I have:
CentOS 4.4 x64 (64-bit system!)
httpd-2.2.3 unix source
Trying to do:
Compile Apache, with mod_rewrite (absolutely needed).
Configuration line:
# ./configure --prefix=/usr/local/apache --enable-so --enable-cgi --enable-info --enable-rewrite --enable-speling --enable-usertrack --enable-deflate --enable-ssl --enable-mime-magic --enable-modules=mod_rewrite
Problem:
mod_rewrite is not installed!
# /usr/local/apache/bin/apachectl -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
I am not seeing any error messages, but mod_rewrite is not installed, and can't (of course) be used. I have tried with 2.0.59 as well. Even when I try with --enable-modules=all mod_rewrite is not installed. Does anyone know anything about this problem and how it can be fixed?
I would surely appreciate any help! Thank you.
configure:19617: checking whether to enable mod_rewrite
configure:19655: result: yes (default)
## ----------------- ##
## Output variables. ##
## ----------------- ##
.....
BUILTIN_LIBS=' modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la modules/aaa/libmod_authz_host.la modules/aaa/libmod_authz_groupfile.la modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la modules/filters/libmod_filter.la modules/filters/libmod_deflate.la modules/loggers/libmod_log_config.la modules/metadata/libmod_env.la modules/metadata/libmod_mime_magic.la modules/metadata/libmod_usertrack.la modules/metadata/libmod_setenvif.la modules/ssl/libmod_ssl.la modules/http/libmod_http.la modules/http/libmod_mime.la modules/generators/libmod_status.la modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la modules/generators/libmod_info.la modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la modules/mappers/libmod_speling.la modules/mappers/libmod_userdir.la modules/mappers/libmod_alias.la modules/mappers/libmod_rewrite.lamodules/mappers/libmod_so.la'
Similar lines also in config.status. Interesting. I'm a newbie in this, but the piece of s... (which I need so bad) should be installed!
I guess I should give up, and install one of the precompiled RPMs or something(even though I then get a little garbage I do not need....).
mod_rewrite should be in the precompiled versions by default?
that might be overriding what you're already providing. I should RTFM, but oh well.
this advice is worth the price you're paying. =)
It didn't help, but thanks anyway. Keep on guessing. Soon we will hunt it down... :)
There is no mod_rewrite anywhere. I installed the RPM (following) with CentOS but that piece of sh.. obly have the absolutely necessary installed, and of course not mod_rewrite!
So what I got here is a non-funcional server I need to migrate one website to. I'm paying double bills (old server) until I got this to work, and besides that the old one is hardly managing the load...
Is there anywhere some other RPMs (that might be suitable for CentOS) that have mod_rewrite enabled (for x64!)? I'm giving up the fight compiling it myself....