httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] http to https redirection with an exception
Date Thu, 18 Oct 2007 16:57:25 GMT
On 10/18/07, joy d <> wrote:
> > Date: Wed, 17 Oct 2007 16:03:38 +0200
> > From:
> >
> > If your apache was compiled with DSO support you don't need to
> > recompile it. You can just compile mod_rewrite and load it in your
> > config.
> >
> Hello,
> How to do it? can you show me a document reference?
> Actually we also have some Apaches which were built with DSO support,but without mod_rewrite
> If I want to compile and install mod_rewrite separately without re-compiling Apache,how
to do it?

First check you have what you need:
- apxs. Usually you'll find that in <apacheroot>/bin/apxs
- The compiler used to build your apache. You can find out what apache
has been built with using the following command: ./apxs -q CC
- the apache source. Best have the same version as the one allready installed.

Unpack the source and go to the directory where the module is. In this case
and do:
<apachedir>/bin/apxs  -c  -i mod_rewrite.c
This command compiles your module, and copies it to the module dir.

(replace sourcedir  with the directory you have unpacked your source
in, and apachedir with your apache install dir)


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message