Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > eef56d5d1b7972ef4a2c51ea5be6f6b4 > files > 4

apache-mod_replace-0.1.0-10mdv2010.0.i586.rpm

mod_replace Installation:

Installation is quite simple. Up till now, you have to copy the source code to
the appropriate directory in the Apache source tree and patch the "config.m4"
file. 

Do the following:

cp mod_replace.c httpd-2.0.x/modules/filters/

Apply the following patch to httpd-2.0.x/modules/filters/config.m4

---cut---
--- config.m4.old       2004-04-13 23:48:45.000000000 +0200
+++ config.m4   2004-02-16 10:55:24.000000000 +0100
@@ -5,6 +5,7 @@
 APACHE_MODPATH_INIT(filters)

 APACHE_MODULE(ext_filter, external filter module, , , most)
+APACHE_MODULE(replace, replace filter module, , , most)
 APACHE_MODULE(include, Server Side Includes, , , yes)

 APR_ADDTO(LT_LDFLAGS,-export-dynamic)
---cut---

Once your done, change to the httpd-2.0.x directory, run autoconf and enable
the module with the "--enable-replace" option.

I try to ease this process in the coming releases. For now, you just have to
stick to it.

Regards, Stephan

$Id: INSTALL,v 1.1 2004/04/17 22:55:17 sttesch Exp $