Re: Mod_layout,redhat 9, apache 2.0.40 and php 4.2.2

"Paul E. Ross" <[email protected]>
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Matt Hyclak wrote:
> On Fri, Oct 03, 2003 at 01:13:38PM -0700, Brian Aker enlightened us:
> 
>>On Fri, 2003-10-03 at 13:05, Matt Hyclak wrote:
>>
>>>>That did it!  I had entered AddOutputFilter LAYOUT php as shown 
>>>>elsewhere.  Now everything (header added, header php resolves) works up 
>>>>until I get to php within the page being wrapped itself, but since I had 
>>>>converted those pages TO php to add the includes, I'll take it out. 
>>>
>>>Good, I'm not the only one experiencing php not properly working. 
>>
>>But the above did not work for you?
>>
> 
> 
> I can use PHP in the header/footer, but if the actual page content has any
> PHP in it, it is not parsed by the php module.
> 
> 
>>>Brian: Is there anything I can do to help figure out what's going on with
>>>this? I'm playing nasty mod_rewrite games between two servers right now, and
>>
>>What I honestly need right now is for someone to write some tests via
>>Apache::Test or something similar. Do to an accident 1.5 years ago I
>>lost the test suite I had for mod_layout (which was a number of years
>>worth of work). Ever since then its been impossible to keep patches up
>>to date since I have yet to rewrite all of the tests :(
>>
> 
> 
> Unfortunately I'm an admin, and not much of a hacker :-\ Hopefully someone
> out there can help with this.
> 
> Matt
> 

Likewise.  However, I've shown the problem to our resident wizard ("I'm 
not a wizard!  If I were a wizard, there'd be a lot more frogs around 
here!") and he's poking about in the apache and php config files. 
Checking for filters, etc.

A closer inspection of my setup shows that the php is being interpreted 
for the header only.  php in the body is being skipped as is php in the 
footer.  View Source (vim) shows it as greyed out comments.

More later.

-- 
Paul Ross
Senior Software Engineer
281.280.2997
281.280.4138 fax
713.736.9581 pager
[email protected]
http://www.opengov.us
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.