the www/mod_rpaf2 port incorrectly edits httpd.conf

Victor Sudakov vas at
Thu Jan 19 07:48:41 UTC 2012

>Submitter-Id:	current-users
>Originator:	Victor Sudakov <vas at>
>Confidential:	no 
>Synopsis:	the www/mod_rpaf2 port incorrectly edits httpd.conf
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 7.4-RELEASE-p5 i386
System: FreeBSD 7.4-RELEASE-p5 FreeBSD 7.4-RELEASE-p5 #0: Sun Dec 25 07:14:25 NOVT 2011 root at i386
The www/mod_rpaf2 port automatically edits /usr/local/etc/apache22/httpd.conf 
inserting the line 
"#LoadModule rpaf2_module       libexec/apache22/"
In fact, the line is incorrect and should be 
"#LoadModule rpaf_module       libexec/apache22/"

The erroneous line results in the following error message when trying
to restart apache after uncommenting the line:

httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf: Can't locate API module structure `rpaf2_module' in file /usr/local/libexec/apache22/ Undefined symbol "rpaf2_module"
	portmaster www/mod_rpaf2

You can manually edit httpd.conf to correct the error or use sed to
replace "LoadModule rpaf2_module" with "LoadModule rpaf_module".

More information about the freebsd-apache mailing list