Re: suggestions for perl as web development language

2020-08-04 Thread Ashish Mukherjee
What about dancer? On Tue, 4 Aug 2020, 12:10 Rolf Schaufelberger, wrote: > I would not consider mod_perl for new projects, but instead highly > recommend using mojolicious https://mojolicious.org/ > > > Am 04.08.2020 um 07:42 schrieb Wesley Peng : > > greetings, > > My team use all of perl, ruby

Re: Unable to set custom header

2015-10-06 Thread Ashish Mukherjee
Error log does not show anything. It's almost as if that piece of code never existed! The request is already being created by mod_proxy. I am just trying to append some request headers. On Tue, Oct 6, 2015 at 3:25 PM, Jie Gao wrote: > * Ashish Mukherjee wrote: > > > Date: T

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, >

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

Using mod_proxy through mod_perl

2015-09-21 Thread Ashish Mukherjee
Hello, I am attempting to build an application which allows people to login to my site and thereafter, browse certain sites on a paid subscription basis. These sites can only be browsed by going through our site as a proxy, similar to HideMe etc. I tried using Apache mod_proxy but am facing a pr

Problem with use of ModPerl2::Tools::fetch_url

2015-08-19 Thread Ashish Mukherjee
Hello, I am facing a problem with ModPerl2::Tools::fetch_url(). Though my url passed to the function is valid, it returns empty content. Here is the relevant code snippet - package MyCompany::Proxy . # use statements sub handler { my $r = shift; my $url = #some logic to get th

Enquiry about mod_perl project state

2015-08-14 Thread Ashish Mukherjee
Hello, I wanted to enquire about the status of mod_perl, since there is largely an impression it is end of life. The project site also does not say much. I see many of the mod_perl shops now moving to perl Dancer/Mojolicious etc. or going the Java way. What is the future of mod_perl beyond mod_pe