mod_layout install questions...

[email protected] Thu, 10 Jun 2004 17:24:22 -0700
Newsgroups gmane.comp.apache.mod-layout
Message-ID <p0611040bbceea82cf95b@[192.168.123.110]>
Hello list,

I am trying to get mod_layout 3.2.1 installed on my RHEL 3 / HSphere box.
(HSphere is a hosting control panel & billing system)  I downloaded the
rpm file (is it compatible with RHEL?) from the tangent site.  I had to do
"a rpm -i --nodeps" because the standard apache is not installed, but an
HSphere specific version is installed in another location.  I copied over the
mod_layout.so file from:
/usr/lib/apache/mod_layout.so
to
/hsphere/shared/apache/libexec/mod_layout.so
and added these lines to my httpd.conf file:

LoadModule layout_module     libexec/mod_layout.so
AddModule mod_layout.c

Are these correct?  I restarted apache, and it restarted fine with these
directives added.  So, I assumed that all was okay.

I then added these lines to one of my vhost containers:
LayoutHeader "*** TEST mod_layout header! ***"
LayoutFooter "*** TEST mod_layout footer! ***"

But, when I then tried to restart apache, it gave me this error:

Starting httpd: Trying to insert <body*>
ADDING LAYOUT:<body*> (1) (2)(1)
Trying to insert </body>
ADDING LAYOUT:</body> (3) (4)(2)
/etc/init.d/httpd: line 61: 14308 Segmentation fault 
/hsphere/shared/apache/bin/httpd -DSSL -f 
/hsphere/shared/apache/conf/httpd.conf


Does this have something to do with the way I installed mod_layout?
Any advice/help would be much appreciated.

Thanks,
Devin