Re: [PATCH] PR 17629 and all that

2010-06-08 Thread Dennis J.
On 06/08/2010 02:37 PM, Joe Orton wrote: https://issues.apache.org/bugzilla/show_bug.cgi?id=17629 Here's an attempt at fixing the dreaded PR 17629. This is a bug in the handling of the output filter chain at the point where an internal redirect is applied to a subrequest. Complications: a) a

Re: C as config

2010-06-04 Thread Dennis J.
On 06/05/2010 12:51 AM, Igor Galić wrote: Not a terribly interesting read, but we are seriously considering just using straight C with some helper functions and macros as the config for one of our projects. And, for the record I was wrong in the past - yes, async is the answer... I've been a

mod_include clobbering QUERY_STRING

2010-04-08 Thread Dennis J.
Hi, It looks like there is a problem in the handling of virtual includes with Apaches SSI filter. Take the following code: htmlbody !--#echo var=QUERY_STRING-- !--#include virtual=/ssi2.php?abc=1-- !--#echo var=QUERY_STRING-- /body/html If this is called with the query string (url)?test=1 then

SSI bug?

2010-04-03 Thread Dennis J.
Hi, It looks like Apache kills the contents of the QUERY_STRING SSI variable when using virtual includes: htmlbody !--#echo var=QUERY_STRING-- !--#include virtual=/ssi2.php?abc=1-- !--#echo var=QUERY_STRING-- /body/html When called with ?test=1 the first echo will correctly output test=1 but

Re: Linking in libraries to Apache Module

2009-12-07 Thread Dennis J.
Have you tried ldd path-to-compiled-module? That could also give you a hint if anything is fishy with the library paths/dependencies. Regards, Dennis On 12/08/2009 01:07 AM, Devin Ceartas wrote: hm. -rpath doesn't seem to be an accepted flag in the apxs included with the latest OpenBSD --

Excluding SSI content from filtering

2009-07-13 Thread Dennis J.
Hi, I wrote a module that adds a header and a footer to html output and that works pretty well. The problem ist that once i add a !--#include virtual=/ssi/... -- directive the content included also gets that header and footer applied. Is there a way to prevent the header/footer filter from

Re: Excluding SSI content from filtering

2009-07-13 Thread Dennis J.
, Dennis J. wrote: Hi, I wrote a module that adds a header and a footer to html output and that works pretty well. The problem ist that once i add a !--#include virtual=/ssi/... -- directive the content included also gets that header and footer applied. Is there a way to prevent the header/footer filter

Re: apr_palloc return value?

2009-04-08 Thread Dennis J.
On 04/08/2009 10:13 PM, Nick Kew wrote: On Wed, 8 Apr 2009 22:07:55 +0300 Juha Korhonenmahtav...@gmail.com wrote: Hi, when I use apr_palloc function to allocate memory, should I check the return value to make sure that I really got some memory? Yes. Sort-of. That is to say, yes you

preventing filter from running for server side includes

2009-03-29 Thread Dennis J.
Hi, Im trying to develop a simple filter that adds a header and a footer to a page. My problem is that the page can also contain server side includes and I obviously only want to add the header and footer on the outer part of the document. If I don't allow server side includes things work out