Hi,
Quote:
I have an installed apache2 on the system but its missing mod_rewrite module. Does anyone know how to install it into an already running apache server? I know you can dynamically link it into apache using apxs but I dont have mod_rewrite.c file to compile it from. So I'm stuck.
|
From:
Quote:
-D HTTPD_ROOT="/usr/local/apache2"
|
apache was compiled from source using the default directory /usr/local/apache2.
If you can't find the sources used to compile the running apache, you can
download again the source tarball for the same version of apache (2.0.59), extract it in some place, go into httpd-2.0.59/modules/mappers directory and run
Code:
/usr/local/apache2/bin/apxs -a -i -c mod_rewrite.c
This will compile, install and activate the mod_rewrite module, so you have to restart apache to start using it
Regards