Re: Question on sub requests and output filter context.

2011-09-20 Thread Martin Townsend
On 19/09/2011 16:48, Nick Kew wrote: On Thu, 15 Sep 2011 11:52:38 +0100 Martin Townsendmartin.towns...@power-oasis.com wrote: Should this new filter also inherit the output filters context? Am I doing something wrong with my use of mod_include? I've tried moving my filter so it's

Question on sub requests and output filter context.

2011-09-15 Thread Martin Townsend
Hi, I have an output filter that parses custom tags to retrieve data from an application running on the same device. Everything was working well until I tried to move some HTML into Server Side Include pages. Snippet below: ?smu smu extio_sensor_read mappings ? ?smu smu extio_read

Re: Memory Pool

2010-10-12 Thread Martin Townsend
well. -- Martin Townsend Power*Oasis* Suite 1, Unit 41 Shrivenham Hundred Business Park Majors Road Watchfield Swindon Wilts SN6 8TZ Mobile: 07884 444658 Skype: mtownsend1973

Memory Pool

2010-10-11 Thread Martin Townsend
Hi, I have created a pool from the child pool for storing warning messages that can live across requests, the final request will insert the warnings into the response. How do I ensure that this pool is cleared at the end of the final request? Cheers, Martin. -- Martin Townsend Power

Re: Memory Pool

2010-10-11 Thread Martin Townsend
On 11/10/2010 15:36, Ben Noordhuis wrote: On Mon, Oct 11, 2010 at 16:14, Martin Townsend martin.towns...@power-oasis.com wrote: I have created a pool from the child pool for storing warning messages that can live across requests, the final request will insert the warnings into the response

Blocking vs Non Blocking reads for Input filters

2010-09-02 Thread Martin Townsend
. Is there a recommended way of reading data from buckets for input filters. I have two input filters; one is used to process POST form data and the second is for uploading files. Best Regards, Martin. -- Martin Townsend power*oasis* Suite 1, Unit 41 Shrivenham Hundred Business Park Majors Road

Re: Problem with ap_internal_redirect_handler

2010-08-24 Thread Martin Townsend
the code in an earlier phase like the fixups how do I read the POST data? Does anyone know the best way to handle this. I'm using v2.2-3. Many Thanks, Martin. Martin Townsend power*oasis* Suite 1, Unit 41 Shrivenham Hundred Business Park Majors Road Watchfield Swindon Wilts SN6 8TZ

Re: Problem with ap_internal_redirect_handler

2010-08-24 Thread Martin Townsend
On 24/08/2010 10:24, Ben Noordhuis wrote: On Tue, Aug 24, 2010 at 11:11, Martin Townsend martin.towns...@power-oasis.com wrote: I'm trying to add a captcha feature to our custom module. How should I handle the returned captcha code in the POST data. I currently have an input filter

Re: Problem with ap_internal_redirect_handler

2010-08-24 Thread Martin Townsend
On 24/08/2010 11:19, Ben Noordhuis wrote: On Tue, Aug 24, 2010 at 11:50, Martin Townsend martin.towns...@power-oasis.com wrote: Do you mean setting a request note from the input filter that an output filter picks up which can then output the captcha.shtml? Yes, if your module consists

Re: Problem with ap_internal_redirect_handler

2010-08-24 Thread Martin Townsend
/strongbox/ Throttlebox - Intelligent Bandwidth Control http://www.bettercgi.com/throttlebox/ Strongbox / Throttlebox affiliate program: http://www.bettercgi.com/affiliates/user/register.php On 08/24/2010 07:29:53 AM, Martin Townsend wrote: On 24/08/2010 11:19, Ben Noordhuis wrote: On Tue, Aug 24