perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cees Hek <c...@sitesuite.com.au>
Subject Re: Is 'PerlHandler Apache::Registry MySimplePerlModule' possible?
Date Wed, 06 Feb 2002 22:26:15 GMT
On Thu, 2002-02-07 at 05:31, Zsolt Czinkos wrote:
> Hello 
> 
> Is it possible to insert my Set-Cookie headers after a modperl script?
> for exapmle:
> 
> <httpd.conf>
> ...
> PerlFreshRestart On
> PerlModule SetMyCookies
> PerlFixupHandler SetMyCookies
> 
> PerlSetVar SessionDataPath /tmp/apache_session
> PerlSetVar SessionLockPath /tmp/apache_session_lock
> 
> Alias /modperl /home/czinkos/IMI/apache/modperl
> <Location /modperl>
>     PerlModule Apache::Registry
>     SetHandler perl-script
>     PerlHandler Apache::Registry SetMyCookies
>     Options ExecCGI
> </Location>
> ...
> </httpd.conf>
>                 
> The script is simple. It adds to cookies to the header.
> e.g. $cookie->bake; 
> 
> I've tried it, but id didn't work. I'd like to add some extra header after everything
is done.

You should look at the Apache::Filter module which will allow you to do
this.

Cees


Mime
View raw message