Marco Nardelli wrote:
>
> When a few years ago someone had installed apache, he "forgot" to
> "enable-module=so".
> Now I'm using this server with every particular configurations I put on
> it and I don't want to lose them.
> I shouldn't want to reinstall apache, only to "enable-module=so".
> Is it possible?
> is it possible to make an "upgrade"?
You cannot tag on a module which has to be compiled in. Its functions
have to be included in the binary and there is no way to do this except
by re-compiling. I appreciate that it is quite scary to "re-install"
something that has been running for years and that you're
afraid you'll lose lots of undocumented bells and whistles but have
courage.
First of all, unpack apache in /tmp - so you can be sure it is not
overwriting anything.
Now execute the following:
if (you made any edits to the source code) {
if (you didn't document them) {
die;
}
else {
apply_previous_edits_to_new_source_code();
}
}
Now just save your existing httpd.conf somewhere safe for peace of mind.
This is the only important file in an apache set-up (... OK, save
mime.types as well). By the way, install *will not* overwrite an
existing httpd.conf so you don't even need to save the original - but do
it anyway...
Then do configure, make and make install and you'll have a new, clean
apache binary.
Rgds,
Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]