Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Roger Munk
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

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Torsten Foertsch
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 >      

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Roger Munk
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

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread André Warnier
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::

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread André Warnier
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

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Roger Munk
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

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Torsten Foertsch
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. >