Re: Unable to set custom header

2015-10-06 Thread Issac Goldstand
> > > > > * 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:

Re: Unable to set custom header

2015-10-06 Thread Ashish Mukherjee
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

Re: Unable to set custom header

2015-10-06 Thread Jie Gao
* 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,

Re: Unable to set custom header

2015-10-06 Thread Ashish Mukherjee
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, >

Re: Unable to set custom header

2015-10-06 Thread Jie Gao
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

Unable to set custom header

2015-10-06 Thread Ashish Mukherjee
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