httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+apa...@sunstarsys.com>
Subject Re: mod_apreq2.c?
Date Wed, 27 Apr 2005 19:10:31 GMT
Geoffrey Young <geoff@modperlcookbook.org> writes:

> hi again :)
>
> so, if I include the following line in my base httpd.conf
>
>   LoadModule apreq_module modules/mod_apreq2.so

Hmm, try the following patch (cd to module/apache2 first) 
and use "apreq2_module" instead.

Index: filter.c
===================================================================
--- filter.c	(revision 164987)
+++ filter.c	(working copy)
@@ -453,7 +453,7 @@
 /** @} */
 
 
-module AP_MODULE_DECLARE_DATA apreq_module = {
+module AP_MODULE_DECLARE_DATA apreq2_module = {
 	STANDARD20_MODULE_STUFF,
 	apreq_create_dir_config,
 	apreq_merge_dir_config,
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 164618)
+++ Makefile.am	(working copy)
@@ -20,7 +20,8 @@
 
 if BUILD_HTTPD
 
-# mod_apreq.c needs to be built from httpd-2.X, e.g.
+# XXX FIXME: static builds don't work anymore
+# mod_apreq2 needs to be built from httpd-2.X, e.g.
 #
 # % cd ../httpd-2.X;
 # % ./configure --with-module=filters:../httpd-apreq-2/module/apache2/mod_apreq2.c ...
@@ -43,7 +44,7 @@
 	@echo "\"LoadModule\" line appears in your webserver's config file:"
 	@echo "$(pkgcfgdir)/httpd.conf"
 	@echo 
-	@echo "LoadModule apreq_module    $(pkglibdir)/mod_apreq2.so"
+	@echo "LoadModule apreq2_module    $(pkglibdir)/mod_apreq2.so"
 	@echo "----------------------------------------------------------------------"
 
 endif

-- 
Joe Schaefer

Mime
View raw message