Removing an output filter handler from the filters chain

2008-04-14 Thread woinshet abdella
Hello, I have a perl output filter handler that processes the element of html documents, after I am done with processing element, I want to remove the output filter handler from the output filters chain so that we do not process the remaining bucket brigades to improve performance. Here is t

Re: Handing over the POST input to a virtual included part?

2008-04-14 Thread Frank Maas
> is it possible to hand over the POST input of a SSI document to a virtual > included part of it? > > I have an SSI document that contains > > > > This way I can pass parameters that are passed in the URI to the > subrequest. > But how can that be done if the request method is POST? (There is onl

RE: Template::Toolkit and mod_perl2?

2008-04-14 Thread Kirk
[error] Can't locate object method "preload" via package "Template::Config" at /usr/lib/perl5/site_perl/5.8.8/Templat e.pm line 44. I'm using the test script right out of the TT: http://template-toolkit.org/docs/tutorial/Web.html#section_Dynamic_Content_G eneration_Via_CGI_Script with this in my

Re: Template::Toolkit and mod_perl2?

2008-04-14 Thread adam . prime
This is a guess, but are you running under SetHandler modperl, and then trying to print $your_page. If that's the case, either use $r->print(), or change to SetHandler perl-script. Adam Quoting Kirk <[EMAIL PROTECTED]>: I'm trying to do some basic conversions to an old site that uses TT,

Re: Handing over the POST input to a virtual included part?

2008-04-14 Thread Perrin Harkins
On Mon, Apr 14, 2008 at 1:22 PM, Torsten Foertsch <[EMAIL PROTECTED]> wrote: > Thanks, that is at least a starting point to think. But I don't know how > large > the request body can become. So, I thought of something like read and cache > the request body in something like fixup of the main re

Re: Template::Toolkit and mod_perl2?

2008-04-14 Thread Tyler Gee
On Mon, Apr 14, 2008 at 7:29 AM, Kirk <[EMAIL PROTECTED]> wrote: > I'm trying to do some basic conversions to an old site that uses TT, and > attempting to get it running under mod_perl2. at the moment I'm getting no > errors but the web pages aren't displaying. Before I get into too much > de

Template::Toolkit and mod_perl2?

2008-04-14 Thread Kirk
I'm trying to do some basic conversions to an old site that uses TT, and attempting to get it running under mod_perl2. at the moment I'm getting no errors but the web pages aren't displaying. Before I get into too much detail, I'm just wondering if TT work under mod_perl2. Anyone have any experi

Re: Handing over the POST input to a virtual included part?

2008-04-14 Thread Torsten Foertsch
On Mon 14 Apr 2008, Geoffrey Young wrote: > > is it possible to hand over the POST input of a SSI document to a virtual > > included part of it? > > > > I have an SSI document that contains > > > > > > > > This way I can pass parameters that are passed in the URI to the > > subrequest. But how can

Re: Handing over the POST input to a virtual included part?

2008-04-14 Thread Geoffrey Young
Torsten Foertsch wrote: Hi, is it possible to hand over the POST input of a SSI document to a virtual included part of it? I have an SSI document that contains This way I can pass parameters that are passed in the URI to the subrequest. But how can that be done if the request method is

Re: Handing over the POST input to a virtual included part?

2008-04-14 Thread adam . prime
I think that virtual includes are handled with Apache sub-requests, so you might be able to get it the post data through $r->prev. Worth a shot anyway. Adam Quoting Torsten Foertsch <[EMAIL PROTECTED]>: Hi, is it possible to hand over the POST input of a SSI document to a virtual includ

Handing over the POST input to a virtual included part?

2008-04-14 Thread Torsten Foertsch
Hi, is it possible to hand over the POST input of a SSI document to a virtual included part of it? I have an SSI document that contains This way I can pass parameters that are passed in the URI to the subrequest. But how can that be done if the request method is POST? (There is only one suc

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-14 Thread Fred Moyer
Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz All tests pass on: 1) Leopard, perl 5.8.8, httpd 2.2.4 2) Linux 2.6, perl 5.8.8, httpd 2.2.6 +1 Thanks

Is there any other alternative

2008-04-14 Thread Tracy12
Hi, We are using following in the middle of the mod_perl scripts, Can some one state are there any side effects or mis URL handling with use of these functions parsed_uri;unparse() , we are on apache 2.2 with mod_perl what are the alternatives or is it alright to keep the following my $uri_par