Das Modul "mod_log_ipmask" soll während der Installation von Apache erstellt und installiert werden
Schritt 1: Konfiguration anpassen
$ ./configure --with-module=loggers:/path/to/ipmask/mod_log_ipmask.c $ make install
Schritt 2: Apache für eine spätere Installtion von Shared Modules vorbereiten:
$ ./configure --enable-so $ make install
Das Modul "mod_log_ipmask" soll nach der Installation von Apache erstellt und installiert werden
Die Einbindung in Apache kann mit dem sogenannten "APache eXtenSion tool" (apxs) vorgenommen werden
$ cd /path/to/mod_log_ipmask $ apxs -c mod_log_ipmask.c $ apxs -i -a -n log_ipmask mod_log_ipmask.la
Entnommen und frei übersetzt von - http://httpd.apache.org/docs/2.2/dso.html (Apache 2.2.x) - http://httpd.apache.org/docs/2.0/dso.html (Apache 2.0.x)
Für Apache v1.3.x ist das Vorgehen ähnlich: - http://httpd.apache.org/docs/1.3/dso.html
|