> >
> > > * Ashish Mukherjee <mailto:ashish.mukher...@gmail.com>> wrote:
> > >
> > > > Date: Tue, 6 Oct 2015 14:36:32 +0530
> > > > From: Ashish Mukherjee <mailto:ashish.mukher...@gmail.com>>
> > > > To:
ue, 6 Oct 2015 15:06:21 +0530
> > From: Ashish Mukherjee
> > To: Jie Gao
> > CC: modperl@perl.apache.org, sourabh....@smartinsight.jp
> > Subject: Re: Unable to set custom header
> >
> > Yes, I used that code just to try with foo => bar first, before doing
&g
* Ashish Mukherjee wrote:
> Date: Tue, 6 Oct 2015 15:06:21 +0530
> From: Ashish Mukherjee
> To: Jie Gao
> CC: modperl@perl.apache.org, sourabh@smartinsight.jp
> Subject: Re: Unable to set custom header
>
> Yes, I used that code just to try with foo => bar first,
ail if necessary.
>
> * Ashish Mukherjee wrote:
>
> > Date: Tue, 6 Oct 2015 14:36:32 +0530
> > From: Ashish Mukherjee
> > To: modperl@perl.apache.org
> > CC: sourabh....@smartinsight.jp
> > Subject: Unable to set custom header
> >
> > Hello,
>
Please think of our environment and only print this e-mail if necessary.
* Ashish Mukherjee wrote:
> Date: Tue, 6 Oct 2015 14:36:32 +0530
> From: Ashish Mukherjee
> To: modperl@perl.apache.org
> CC: sourabh@smartinsight.jp
> Subject: Unable to set custom header
>
> He
Hello,
I am trying to set a custom header through a mod_perl handler.
My perl handler code is:
sub handler {
my $r = shift;
$r->headers_out->add("foo" => "bar");
$r->log->error($r->connection->remote_ip()." is client IP");
return Apache2::Const::OK;
}
The handler gets called a