On Sun 15 Feb 2009, Roger Munk wrote:
> On Sun, Feb 15, 2009 at 5:12 PM, André Warnier wrote:
> > see http://perl.apache.org/docs/2.0/api/APR/Table.html#C_get_
> > (you only get the first one this way)
> > my @cookies = $f->r->headers_out->get("Set-Cookie");
> > would get you an array with both.
>
On Sun, Feb 15, 2009 at 5:12 PM, André Warnier wrote:
> see http://perl.apache.org/docs/2.0/api/APR/Table.html#C_get_
> (you only get the first one this way)
> my @cookies = $f->r->headers_out->get("Set-Cookie");
> would get you an array with both.
Thanks, when I tried receiving the cookies in an
In the code you showed, nothing calls sub1, so I wasn't sure what you
were thinking would happen there. If your real code does call it
first on every request, then it should work.
There's no need to worry about concurrency. Even when using threads,
each interpreter is separate and nothing is sha
Sorry, this list does not automatically set the reply-to, and I always
forget..
Perrin Harkins wrote:
On Sat, Feb 14, 2009 at 5:50 AM, André Warnier wrote:
Less nice, less neat, less classic, terrible style, whatever you want, but
which also works :
Yeah, I wouldn't really recommend this.
On Fri, Feb 13, 2009 at 11:30 PM, wrote:
> I am using FindBin and added the FindBin::again() as recommanded
> in hope to switch to ModPerl::RegistryPrefork soon.
> I am using both use lib and unshift @INC but still, for some reasons,
> even with ModPerl::PerlRunPrefork got some pages that could n
On Sat, Feb 14, 2009 at 5:50 AM, André Warnier wrote:
> Less nice, less neat, less classic, terrible style, whatever you want, but
> which also works :
Yeah, I wouldn't really recommend this. Passing your $cgi object to
subs that need it is the best solution.
> I am not quite sure why it works,
On Fri, Feb 13, 2009 at 10:52 PM, wrote:
> I wish to cache a full dynamic application like Web Services (SOAP).
> I was thinking if it's possible to make a proxy with modperl to do that
> caching?
You could write a filter to do that, but you don't need to. Just use
the mod_cache stuff apache h
Roger Munk wrote:
On Sun, Feb 15, 2009 at 4:05 PM, Torsten Foertsch
wrote:
If your page is generated by php and you only want to postprocess it on
its way out then drop the SetHandler. The PerlOutputFilterHandler does
not need a "SetHandler modperl".
Thanks, that was perfect. One more follow
Roger Munk wrote:
I have the following directives in my sites-available/default configuration:
DocumentRoot /var/www/
Alias /portal/ /var/www/drupal6/
PerlRequire "/etc/apache2/ModPerl/TE/ST.pm"
SetHandler modperl
PerlOutputFilterHandler TE::
On Sun, Feb 15, 2009 at 4:05 PM, Torsten Foertsch
wrote:
> If your page is generated by php and you only want to postprocess it on
> its way out then drop the SetHandler. The PerlOutputFilterHandler does
> not need a "SetHandler modperl".
Thanks, that was perfect. One more follow-up question. I
On Sun 15 Feb 2009, Roger Munk wrote:
> I have the following directives in my sites-available/default
> configuration:
>
> DocumentRoot /var/www/
> Alias /portal/ /var/www/drupal6/
> PerlRequire "/etc/apache2/ModPerl/TE/ST.pm"
>
> SetHandler modperl
>
I have the following directives in my sites-available/default configuration:
DocumentRoot /var/www/
Alias /portal/ /var/www/drupal6/
PerlRequire "/etc/apache2/ModPerl/TE/ST.pm"
SetHandler modperl
PerlOutputFilterHandler TE::ST
When th
12 matches
Mail list logo