Apache Server configuration support - Re: Combining SSI, PHP, and CGI in Apache 2.x

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2005 > Re: Combining SSI, PHP, and CGI in Apache 2.x





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Combining SSI, PHP, and CGI in Apache 2.x
Mxsmanic

2005-01-20, 5:59 pm

Chung Leong writes:

> Nope, it does not work with PHP. The php Apache 2 filter doesn't parse code
> coming through the pipeline. Still a mystery to me why they made it a
> separate SAPI module.


What about the examples I've seen that show things like:

AddOutputFilter INCLUDES;PHP .shtml .html

This seems to imply that there's a way to make php a filter.

But actually my experiments have resolved a portion of the problem:
right now, output from .php pages is being scanned for SSI after PHP
finishes, which is a huge step ahead. So my remaining issues are: how
can I get output from PERL scripts to be parsed by SSI, and how could I
get SSI to parse a page _after_ php is parsed, instead of before (which
would allow php code embedded in SSI-included files to be parsed, in
addition to the php code in the base page)?

--
Transpose hotmail and mxsmanic in my e-mail address to reach me directly.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com