Apache2 Mod_layout 4.0.2a Problems

Dan Goodes <[email protected]> Fri, 12 Mar 2004 13:43:53 +1000 (EST)
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Hi Folks,

Been trying to migrate from Apache1.3 with mod_layout 3.2, to apache2 with
4.0.2a.

First thing I found was that very few if any of the directives that we
used (nay, relied on) in the old version are implimented yet. Here's the
old setup:

LayoutComment On
LayoutCacheNeeded On
LayoutMerge On
LayoutDefaultHandlers Off
LayoutHandler httpd/unix-directory
LayoutHeader /layout/dirheader-rhs.php
LayoutFooter /layout/dirfooter-rhs.php

Here's the new setup:

AddOutputFilterByType LAYOUT httpd/unix-directory
LayoutHeader /layout/dirheader-rhs.php
LayoutFooter /layout/dirfooter-rhs.php

That's all well and good, and it "almost" works. What it does is displays
the directory listing exactly as it should (nicely wrapped in pretty HTML,
with all the bells and whistles).. But at the end, after the bottom of
dirfooter-rhs.php, it displays the directory listing again, like it's
missing the <pre> tags around it, etc.

A "view source" around the affected area shows:

---snip---
</body></html>
ast modified</a>      <a href="?C=S;O=A">Size</a>
---snip---

Any thoughts/ideas? If it's a bug, is it being worked on?

Cheers,

Dan