Re: Apache2 Mod_layout 4.0.2a Problems

Dan Goodes <[email protected]> Mon, 15 Mar 2004 10:08:05 +1000 (EST)
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
On Fri, 12 Mar 2004, Paul E. Ross wrote:

> Dang!  Dang!  Dang!  I was hoping the solution had been found.  I added
> the AddOutputFilterByType LAYOUT httpd/unix-directory directive and
> things looked promising, but further testing revealed that, as before,
> one can have a php header, a php body, or a php footer, but not two or
> more php sections.  After the first php entity, the php code in the
> second or third entity either gets treated like text or simply confuses
> the browser.

For me, the whole thing including the middle directory listing displays as
expected , including headers and footers. Have a look at one of
PlanetMirror's directory listings - http://planetmirror.com/pub/redhat/
for example - to see what it's supposed to look like. The problem is that
it seems to *repeat* the directory listing at the end on my development
box.

I have a funny feeling this has something to do with the changes to the
LayoutMerge stuff, but i'm just a web/system guy, not a programmer.

> I have one php page, where the footer winds up in a nice neat table in
> the middle of the page.  Our resident wizard was going to look at the
> mod_layout source at home to see if he could spot the problem, but we
> are in "get ready for handover" mode so everyone gets five additional
> things to do for every one he completes, so the priority of that task
> has dropped way down.  If you find your way out of the multiple php
> problem, PLEASE let the mailing list know.

If I find the solution, I'll post it. I'm kinda hoping this can get looked
into by krow et al, if they get time.

-Dan