Re: [us...@httpd] PHP script as Apache filter or callback

2009-03-14 Thread André Warnier
Brian Mearns wrote: I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which

Re: [us...@httpd] PHP script as Apache filter or callback

2009-03-14 Thread Brian Mearns
On Sat, Mar 14, 2009 at 7:59 AM, André Warnier a...@ice-sa.com wrote: Brian Mearns wrote: I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways,

Re: [us...@httpd] PHP script as Apache filter or callback

2009-03-14 Thread Eric Covener
On Sat, Mar 14, 2009 at 9:53 AM, Brian Mearns mearn...@gmail.com wrote: On Sat, Mar 14, 2009 at 7:59 AM, André Warnier a...@ice-sa.com wrote: Brian Mearns wrote: I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the

Re: [us...@httpd] PHP script as Apache filter or callback

2009-03-14 Thread William A. Rowe, Jr.
Eric Covener wrote: AFAICT it seems like php-as-a-filter is somewhat out of fashion, and might require a rebuild of your PHP mod (if even still supported). It was never apache2handler; it's a different sapi named apache2filter.

[us...@httpd] PHP script as Apache filter or callback

2009-03-13 Thread Brian Mearns
I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which I don't think can be