Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3

2019-09-26 Thread Jie Gao
My test result as follows: t/filter/in_bbs_inject_header.t . 1/? # Failed test 22 in t/filter/in_bbs_inject_header.t at line 58 fail #6 # Failed test 26 in t/filter/in_bbs_inject_header.t at line 58 fail #7 # Failed test 30 in t/filter/in_bbs_inject_header.t at line 58 fail #8 Test Summ

Re: Apache upgrade 2.2 -> 2.4 and "PerlAuthenHandler Authen::Simple::IMAP"

2019-02-20 Thread Jie Gao
* Jobst Schmalenbach wrote: > Date: Wed, 20 Feb 2019 12:33:22 +1100 > From: Jobst Schmalenbach > To: modperl@perl.apache.org > Subject: Apache upgrade 2.2 -> 2.4 and "PerlAuthenHandler > Authen::Simple::IMAP" > User-Agent: Mutt/1.9.1 (2017-09-22) > > I posted this first on the Apache mailing l

Re: Apache upgrade 2.2 -> 2.4 and "PerlAuthenHandler Authen::Simple::IMAP"

2019-02-19 Thread Jie Gao
* Paul B. Henson wrote: > Date: Tue, 19 Feb 2019 17:50:15 -0800 > From: "Paul B. Henson" > To: modperl@perl.apache.org > Subject: Re: Apache upgrade 2.2 -> 2.4 and "PerlAuthenHandler > Authen::Simple::IMAP" > User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 > Thunderbird

test

2018-05-21 Thread Jie Gao
test

Re: handler timeout

2018-03-28 Thread Jie Gao
You can also turn on "keep-alive" and tune it to suit your current, immediate need. -Jie

Re: handler timeout

2018-03-27 Thread Jie Gao
* PANG J. wrote: > Date: Wed, 28 Mar 2018 10:49:46 +0800 > From: "PANG J." > To: modperl@perl.apache.org > Subject: Re: handler timeout > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.6.0 > > > > On 2018/3/

Re: handler timeout

2018-03-27 Thread Jie Gao
e primary reason is handler computes for long time, so client gets > timeout. To start with, is your hosting machine running out of resources (CPU cycles, memory, etc)? And what is the timeout value you have configured for Apache? The defaults might be too low. Regards, Jie &g

Re: handler timeout

2018-03-27 Thread Jie Gao
* PANG J. wrote: > Date: Wed, 28 Mar 2018 09:30:17 +0800 > From: "PANG J." > To: modperl@perl.apache.org > Subject: handler timeout > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.6.0 > > Hi, > > there are a lot of Floating point operations in my mod

Re: mod_perl developer wanted

2017-09-22 Thread Jie Gao
* Thorsten Schöning wrote: > Date: Fri, 22 Sep 2017 17:08:57 +0200 > From: Thorsten Schöning > To: "modperl@perl.apache.org" > Subject: Re: mod_perl developer wanted > > Guten Tag Rolf Schaufelberger, > am Donnerstag, 14. September 2017 um 09:10 schrieben Sie: > > > We don't have the skills t

Re: [Slightly OT] Apache::AuthCookie and mod_perl version 1.x

2017-07-31 Thread Jie Gao
* 风河 wrote: > Date: Tue, 1 Aug 2017 08:57:29 +0800 > From: 风河 > To: modperl@perl.apache.org > Subject: Re: [Slightly OT] Apache::AuthCookie and mod_perl version 1.x > X-Mailer: MessagingEngine.com Webmail Interface - ajax-917c8476 > > We have a lot of servers running under mp2 and httpd2.2 :)

Re: mod_perl and cgi-script handler

2017-06-11 Thread Jie Gao
rides the "cgi-script" response handler which you set above, to set > >mod_perl > >instead. mod_perl would now expect an additional directive > >PerlResponseHandler (some perl sub/method). > >See : http://perl.apache.org/docs/2.0/user/config/config.html#C_SetH

Re: mod_perl and cgi-script handler

2017-06-11 Thread Jie Gao
ocs/2.0/user/config/config.html#C_SetHandler_ > > 3) > SetHandler cgi-script > > By doing this, you are resetting the response handler again, from mod_perl > back to cgi-script (mod_cgi). > > > So instead, if you just omit > SetHandler modperl > > it wou

Re: mod_perl and cgi-script handler

2017-06-10 Thread Jie Gao
It seemed "SetHandler" in the mod_perl section overwrote the settings for cgi-script. Adding the following to the directory stanza fixed the problem: SetHandler cgi-script . Regards, Jie * Jie Gao wrote: > Date: Fri, 9 Jun 2017 20:35:43 +1000 > Fro

mod_perl and cgi-script handler

2017-06-09 Thread Jie Gao
Hi All I have run into a problem with CGI under mod_perl, and I can't get my head around it. I wanted to put a "cgi-bin" directory under my authentication/authorisation handlers, but while authen/authz works fine (debug showing access granted), the directory is in the end not handled by "cgi-s

Re: Test Failures on CentOS 7.3

2017-03-17 Thread Jie Gao
You can build and install your own perl, mod_perl, Apache in /usr/local, entirely separate from those that come with the OS. -Jie Sent from my Samsung device Original message From: "David E. Wheeler" Date: 18/03/2017 08:35 (GMT+10:00) To: Jie Gao Cc: mod

Re: Test Failures on CentOS 7.3

2017-03-17 Thread Jie Gao
Please check if there is a package for apreq you need to install first. Regards Jie Sent from my Samsung device Original message From: "David E. Wheeler" Date: 18/03/2017 07:53 (GMT+10:00) To: mod_perl list Subject: Re: Test Failures on CentOS 7.3 On Mar 17, 2017, at 12

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread Jie Gao
* JW wrote: > This mod_perl server is behind a proxy on the same machine. Under Apache 2.2, > $r->remote_ip() > returned 127.0.0.1 and not the user's actual IP.  So, a > PerlPostReadRequestHandler extracted the user's > IP address from the X-Forwarded-For header and set it with $r->remote_ip(

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-09 Thread Jie Gao
* JW wrote: > Date: Fri, 10 Mar 2017 03:53:27 + > From: JW > To: "modperl@perl.apache.org" > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > Hi, > Back in January I was planning on moving to Apache 2.4+mod_perl+libapreq2 > from Apache 2.2+mod_perl+libapreq2. I'

Re: Flush headers ?

2017-02-07 Thread Jie Gao
* Ben RUBSON wrote: > I investigated further and found that the following example : > my $r = shift; > $r->content_type('text/html'); > $r->rflush(); > sleep(10); > $r->print("HelloWorld"); > $r->rflush(); > sleep(10); > > Works as expected with Debian 7, Apache 2.2.22-13+deb7u6, mod_perl 2.0.7-

Re: Flush headers ?

2017-02-06 Thread Jie Gao
Try moving the header addition line to after the flush statement. Regards, Jie * André Warnier (tomcat) wrote: > Date: Tue, 7 Feb 2017 02:40:44 +0100 > From: "André Warnier (tomcat)" > To: modperl@perl.apache.org > Subject: Re: Flush headers ? > User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-18 Thread Jie Gao
There was a new release candidate over a month ago, and it is available at https://home.apache.org/~issac/libapreq2-2.14.tar.gz . Regards, Jie * JW wrote: > Date: Wed, 18 Jan 2017 20:06:41 + > From: JW > To: "modperl@perl.apache.org" > Subject: Question about Apache 2.4 and libapreq2

Re: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread Jie Gao
N. Braswell, Jr." > To: Jie Gao > CC: modperl@perl.apache.org > Subject: Re: mod_perl Silent Failure, Very Mysterious > > Hi Jie, > If I temporarily disable B::Hooks::OP::Check, as shown below, then it > tells me it was included from Devel::Declare, which was i

Re: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread Jie Gao
Hi William Where excatly is B::Hooks::OP::Check required / its Check.xs called? Regards, Jie * William N. Braswell, Jr. wrote: > Date: Tue, 22 Nov 2016 06:04:36 -0600 > From: "William N. Braswell, Jr." > To: Jie Gao > CC: modperl@perl.apache.org > Subject: RE

RE: mod_perl Silent Failure, Very Mysterious

2016-11-16 Thread Jie Gao
iam N. Braswell, Jr. [william.brasw...@autoparallel.com] Sent: Tuesday, November 15, 2016 8:01 PM To: Jie Gao Cc: modperl@perl.apache.org Subject: Re: mod_perl Silent Failure, Very Mysterious Hello Jie & Friends, I got the core dump out of gdb and also some hopefully-helpful output. Here is the output

Re: mod_perl Silent Failure, Very Mysterious

2016-11-14 Thread Jie Gao
Add the "-f" flag to strace and see what errors you get. Regards, Jie * William N. Braswell, Jr. wrote: > Date: Mon, 14 Nov 2016 23:27:53 -0600 > From: "William N. Braswell, Jr." > To: modperl@perl.apache.org > Subject: mod_perl Silent Failure, Very Mysterious > > Hello everyone, I'm tryin

Re: Apache 2.4, mod_perl 2.0.9, APR::SockAddr->port() missing ?

2016-10-31 Thread Jie Gao
In Apache 2.4, client_addr belongs to 'conn_rec', from which you get the information about the peer of the connection, which could be a proxy server. 'useragent_ip' belongs to request_rec, from which you get the information about the HTTP request from the real user end point (the Web browser) o

Re: Apache 2.4, mod_perl 2.0.9, APR::SockAddr->port() missing ?

2016-10-31 Thread Jie Gao
This is what I use: my $c = $r->connection(); my $client_addr = $c->client_addr->ip_get(); my $client_port = $c->client_addr->port(); Regards, Jie * A. Warnier wrote: > Date: Sat, 29 Oct 2016 21:16:35 +0200 > From: "A. Warnier" > To: mod_perl list > Subject: Apache 2.4, mod_pe

Re: [RELEASE CANDIDATE] mod_perl-2.0.10 RC2

2016-10-06 Thread Jie Gao
I got the same test failures as with RC1, on the same platform reported earlier: t/filter/in_bbs_inject_header.t . 1/? # Failed test 22 in t/filter/in_bbs_inject_header.t at line 58 fail #6 # Failed test 26 in t/filter/in_bbs_inject_header.t at line 58 fail #7 # Failed test 30 in t/filter

Re: [RELEASE CANDIDATE] mod_perl-2.0.10 RC1

2016-10-02 Thread Jie Gao
Using httpd-2.4.23: # lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: RedHatEnterpriseServer Description:Red Hat Enterprise Linux Server release 6.8 (Sa

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-27 Thread Jie Gao
I have just tried to build mod_perl from mod_perl-SVN as at Sun Aug 28 03:25:32 UTC 2016, "make test" hang at: t/protocol/eliza.t .. 1/7 Further testing: waiting 300 seconds for server to start: .[Sun Aug 28 13:49:17.900567 2016] [env:warn] [pid 18374:tid 140032060188416

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-25 Thread Jie Gao
> > +1 on RHEL6.8: > > > > Bundled Perl v5.10.1 + Apache 2.4.23 (with default configuration build). > > Without mod_perl-SVN and with LWP-5.833. > > > +1 on Ubuntu v16.04.1: > > > > Bundled Perl v5.22.1 + Apache 2.4.23 (with default configuration build). > > Without mod_perl-SVN and with LWP-

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-25 Thread Jie Gao
> +1 on RHEL6.8: > > Perl v5.20.2 + Apache 2.4.23 (with default configuration build). Without mod_perl-SVN and with LWP-5.835. -Jie

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-25 Thread Jie Gao
> +1 on RHEL6.8: > > Bundled Perl v5.10.1 + Apache 2.4.23 (with default configuration build). Without mod_perl-SVN and with LWP-5.833. > +1 on Ubuntu v16.04.1: > > Bundled Perl v5.22.1 + Apache 2.4.23 (with default configuration build). Without mod_perl-SVN and with LWP-5.835. -Jie

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-25 Thread Jie Gao
+1 on RHEL6.8: Bundled Perl v5.10.1 + Apache 2.2.31 (with default configuration build). Perl v5.20.2 + Apache 2.2.31 (with default configuration build). +1 on Ubuntu v16.04.1: Bundled Perl v5.22.1 + Apache 2.2.31 (with default configuration build). -Jie

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-25 Thread Jie Gao
+1 on RHEL6.8: Bundled Perl v5.10.1 + Apache 2.4.23 (with default configuration build). +1 on Ubuntu v16.04.1: Bundled Perl v5.22.1 + Apache 2.4.23 (with default configuration build). * Steve Hay wrote: > Date: Wed, 24 Aug 2016 18:09:24 +0100 > From: Steve Hay > To: Steve Hay > CC: test-..

Re: [RELEASE CANDIDATE] Apache-Test-1.40 RC1

2016-08-25 Thread Jie Gao
+1 on RHEL6.8: Perl v5.20.2 + Apache 2.4.23 (with default configuration build). . * Steve Hay wrote: > Date: Wed, 24 Aug 2016 18:09:24 +0100 > From: Steve Hay > To: Steve Hay > CC: test-...@perl.apache.org, d...@perl.apache.org, > "modperl@perl.apache.org" , d...@httpd.apache.org > Subje

Re: ApacheCon: Getting the word out internally

2016-07-19 Thread Jie Gao
* yhp...@orange.fr wrote: > but, does modperl have something like JDBC, the database connection pool? See http://dbi.perl.org/ . Regards, Jie

Re: ApacheCon: Getting the word out internally

2016-07-18 Thread Jie Gao
t; > so, will go for support of perl6? I wouldn't count on planning that far. No implementation of perl6 is complete, 16 years after Larry Wall announced the language. -Jie > On 2016/7/19 11:19, Jie Gao wrote: > >* yhp...@orange.fr wrote: > > > >&g

Re: ApacheCon: Getting the word out internally

2016-07-18 Thread Jie Gao
* yhp...@orange.fr wrote: > Date: Tue, 19 Jul 2016 11:17:01 +0800 > From: yhp...@orange.fr > To: modperl@perl.apache.org > Subject: Re: ApacheCon: Getting the word out internally > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 > Thunderbird/45.1.1 > > Hi, > > Is Apac

Re: [RELEASE CANDIDATE] Apache-Reload 0.13 RC2

2016-07-13 Thread Jie Gao
* Ruben Safir wrote: > Date: Wed, 13 Jul 2016 11:48:03 -0400 > From: Ruben Safir > To: Jie Gao > CC: Steve Hay , d...@perl.apache.org, > "modperl@perl.apache.org" > Subject: Re: [RELEASE CANDIDATE] Apache-Reload 0.13 RC2 > User-Agent: Mutt/1.5.21 (2010-09-15)

Re: Build failure

2016-07-11 Thread Jie Gao
* Ruben Safir wrote: > Date: Mon, 11 Jul 2016 23:32:49 -0400 > From: Ruben Safir > To: modperl@perl.apache.org > Subject: Re: Build failure > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 > Thunderbird/45.1.1 > > On 07/11/2016 11:30 PM, Jie Gao

Re: Build failure

2016-07-11 Thread Jie Gao
Are you using the right apxs? Regards, Jie * Ruben Safir wrote: > Date: Mon, 11 Jul 2016 23:00:09 -0400 > From: Ruben Safir > To: Ruben Safir > CC: modperl@perl.apache.org > Subject: Re: Build failure > User-Agent: Mutt/1.5.21 (2010-09-15) > > no activity? > > > On Sun, Jul 10, 2016 at

Re: New segfault with 2.4.20 with mod_perl

2016-05-28 Thread Jie Gao
/usr/local/httpd-2.4.20/bin/httpd -core /usr/local/src/mod_perl-2.0/t/core.15035 -Jie * Jie Gao wrote: > Date: Sun, 29 May 2016 16:02:17 +1000 > From: Jie Gao > To: d...@perl.apache.org, modperl@perl.apache.org > CC: William A Rowe Jr > Subject: Re: New segfault with 2.4.20

Re: New segfault with 2.4.20 with mod_perl

2016-05-28 Thread Jie Gao
Hi All I wonder if anybody is looking at this issue. At the moment, the build cores even at the end of generating a Makefile. If not, I would like to get my hands dirty in an attmpt to get the ball rolling. Any help on how to get a handle on the "ip comparisons" recommended by W. Rowe Jr would

Re: $r->requires and register_auth_provider

2015-12-27 Thread Jie Gao
* Sergei Gerasenko wrote: > Date: Wed, 23 Dec 2015 11:16:33 -0600 > From: Sergei Gerasenko > To: mod_perl list > Subject: Re: $r->requires and register_auth_provider > > I've installed and configured the AuthCookie module. I can now say with > certainty that authz_handler is called multiple ti

Re: Upgrade to Apache 2.4 breaks encoding in a PerlOutputFilterHandler

2015-11-30 Thread Jie Gao
Hi Vincent Thanks for sharing your solution. Regards, Jie * Vincent Veyron wrote: > Date: Sun, 29 Nov 2015 19:15:20 +0100 > From: Vincent Veyron > To: Jie Gao > CC: modperl@perl.apache.org > Subject: Re: Upgrade to Apache 2.4 breaks encoding in a > PerlOutputFilter

Re: Upgrade to Apache 2.4 breaks encoding in a PerlOutputFilterHandler

2015-11-29 Thread Jie Gao
* Vincent Veyron wrote: > Date: Fri, 29 May 2015 19:13:50 +0200 > From: Vincent Veyron > To: "Kevin A. McGrail" > CC: modperl@perl.apache.org > Subject: Re: Upgrade to Apache 2.4 breaks encoding in a > PerlOutputFilterHandler > X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.10; i486-pc-linux-gnu) > > >

mod_perl 2.0.9: "make test" hangs with httpd v2.4.17.

2015-10-14 Thread Jie Gao
---Start: Bug Report--- Issue: mod_perl 2.0.9 with httpd v2.4.17: "make test" hang @ "t/protocol/echo_block.t" with error "APR::Socket::recv: (9) Bad file descriptor at /usr/local/src/mod_perl-2.0.9/t/protocol/TestProtocol/echo_block.pm line 37". > uname -a Linux ..xxx.xx 2.6.32-573.7.1

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 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 > > Hello, > > I am trying

Re: Enquiry about mod_perl project state

2015-09-01 Thread Jie Gao
Randal is absolutely right: the greatest advantage of mod_perl is a hook to every phase of the Apache request processing, making it very powerful. My impression is, though, that the Apache folks no longer like the idea of fully exposing the internals of Apache, for reasons of security; but I may

mod_perl 2.0.9: "make test" fails with httpd v2.4.16.

2015-07-15 Thread Jie Gao
> uname -a Linux ..xxx.xx 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux > cat /etc/issue Red Hat Enterprise Linux Server release 6.6 (Santiago) Kernel \r on an \m > t/REPORT -8<-- Start Bug Report 8<-

Re: Perl Authorization handler called before authentication handler

2015-06-26 Thread Jie Gao
* Lathan Bidwell wrote: > Date: Fri, 12 Sep 2014 12:14:35 -0400 > From: Lathan Bidwell > To: modperl@perl.apache.org > Subject: Perl Authorization handler called before authentication handler Not sure if you still need this, but my findings are it is the correct behaviour under Apache24 for th

Apache24: mod_perl authen + default access handler: Possible?

2015-06-23 Thread Jie Gao
Hi All I am trying to convert my mod_perl module for Apache 2.2 for use with Apache 2.4. It was an authen+authz combined module, and it now needs to be overhauled. I am thinking of using my mod_perl module for authentication (neither "Basic" nor "Digest", but cookie-based) only, and have the def

Re: Apache 2.4 Upgrade

2015-06-15 Thread Jie Gao
* John Dunlap wrote: > Date: Mon, 15 Jun 2015 17:20:09 -0400 > From: John Dunlap > To: "Kevin A. McGrail" > CC: Vincent Veyron , mod_perl list > > Subject: Re: Apache 2.4 Upgrade > > Where do I get the source for 2.09-rc3? I don't see a tag for it in SVN. http://people.apache.org/~steve

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC3

2015-06-12 Thread Jie Gao
> cat /etc/issue Red Hat Enterprise Linux Server release 6.6 (Santiago) Kernel \r on an \m > Linux xxx.xxx.xx 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT > 2015 x86_64 x86_64 x86_64 GNU/Linux > perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: Platf

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

2015-06-01 Thread Jie Gao
> cat /etc/issue Red Hat Enterprise Linux Server release 6.6 (Santiago) Kernel \r on an \m > uname -a Linux xxx 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux > perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: P

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

2015-05-15 Thread Jie Gao
> cat /etc/issue Red Hat Enterprise Linux Server release 6.6 (Santiago) > uname -a Linux .xxx.xxx.xx 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux > perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: Platform:

Re: mod_perl and apache 2.4

2015-05-09 Thread Jie Gao
Hi GLG You've now got help from Randal! So you know this is really mod_perl list. :-) Regards, Jie * Randal L. Schwartz wrote: > Date: Sat, 9 May 2015 07:56:06 -0700 > From: "Randal L. Schwartz" > To: GLG > CC: 'Jie Gao' , 'mod_perl list' &g

RE: mod_perl and apache 2.4

2015-05-08 Thread Jie Gao
If it's a permissions issue, you probably already know what to do. -Jie From: GLG [i...@3dnetproductions.com] Sent: Saturday, May 09, 2015 4:33 PM To: Jie Gao; 'mod_perl list' Subject: RE: mod_perl and apache 2.4 Thanks for the suggestio

RE: mod_perl and apache 2.4

2015-05-08 Thread Jie Gao
at lib files you are allowed to load. I'd change OS to save time. -Jie ____________ From: Jie Gao [j@sydney.edu.au] Sent: Saturday, May 09, 2015 11:59 AM To: i...@3dnetproductions.com; 'mod_perl list' Subject: RE: mod_perl and apache 2.

RE: mod_perl and apache 2.4

2015-05-08 Thread Jie Gao
mod_perl.so indeed does not have "modperl_io_perlio_restore_stdout", nor "modperl_io_perlio_restore_stdin"; it does have "modperl_io_perlio_restore", which does not seem to be defined anywhere in the source. Not sure why. -JIie From: GLG [i...@3dnetproduc

Re: [RELEASE CANDIDATE] Apache-Reload 0.13 RC2

2015-04-23 Thread Jie Gao
Red Hat Enterprise Linux Server release 6.6 (Santiago) perl Makefile.PL -httpd /usr/local/apache/bin/httpd -apxs /usr/local/apache/bin/apxs All tests successful. Regards, Jie Please think of our environment and only print this e-mail if necessary. * Steve Hay wrote: > Date: Thu, 23 Apr 2

Re: Apache 2.4: How to get to "require" now?

2015-04-23 Thread Jie Gao
Still fumbling, but I have found out how to get to a bit of it now: --- sub authz_handler { my $self = shift; my $r = shift; my $requires = shift; --- It looks like the handler gets called for each Require* directive(?). Regards, Jie * Jie Gao wrote: > Date: Wed, 22 Apr 2

Re: Apache 2.4: scope of PerlAddAuthzProvider

2015-04-22 Thread Jie Gao
OK, I suppose I can add the provider globally, but not actually start to use it until I call the module within a container. And it should be "PerlAddAuthzProvider user My::MyAuth::AuthCookie->authz" as well. Regards, Jie * Jie Gao wrote: > Date: Wed, 22 Apr 2015 17:23

Apache 2.4: scope of PerlAddAuthzProvider

2015-04-22 Thread Jie Gao
Hi When I put the following line within a "Location" section: PerlAddAuthzProvider user My::MyAuth::AuthCookie->authen I get an error: "AH00526: Syntax error on line 545 of /usr/local/httpd-2.4.12/conf/httpd.conf: PerlAddAuthzProvider not allowed here" . But if I put it outside the co

Apache 2.4: How to get to "require" now?

2015-04-21 Thread Jie Gao
Hi Now that "ap_requires" is gone in Apache 2.4, "Apache2::RequestRec->requires" is also no longer available in mod_perl. How do I get to things like "Require valid-user" now? Regards, Jie

Re: mod_perl and apache 2.4

2015-04-16 Thread Jie Gao
Redhat Enterprise Linux 7 does not seem to have mod_perl in the core distribution channel. Regards, Jie * GLG wrote: > Date: Thu, 16 Apr 2015 10:22:23 -0400 > From: GLG > To: modperl@perl.apache.org > Subject: mod_perl and apache 2.4 > X-Mailer: Microsoft Office Outlook 12.0 > > Hello List

Re: Trunk: APR.so won't load

2015-04-14 Thread Jie Gao
Hi Steve Yes, I applied the AP_DEBUG patch. Regards, Jie * Steve Hay wrote: > Date: Tue, 14 Apr 2015 08:32:29 +0100 > From: Steve Hay > To: Jie Gao > CC: "modperl@perl.apache.org" , mod_perl Dev > > Subject: Re: Trunk: APR.so won't load > > That&#

Re: Trunk: APR.so won't load

2015-04-13 Thread Jie Gao
ubtests Thanks very much for your help! Regards, Jie * Steve Hay wrote: > Date: Mon, 13 Apr 2015 09:18:50 +0100 > From: Steve Hay > To: Jie Gao > CC: "modperl@perl.apache.org" , mod_perl Dev > > Subject: Re: Trunk: APR.so won't load > > Thanks for t

Re: [RELEASE CANDIDATE] Apache-Test-1.39 RC1

2015-04-13 Thread Jie Gao
"make test" successful on: Red Hat Enterprise Linux Server release 6.6 (Santiago) with: > perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: Platform: osname=linux, osvers=2.6.32-504.12.2.el6.x86_64, archname=x86_64-linux-thread-multi uname='linux

Re: Trunk: APR.so won't load

2015-04-12 Thread Jie Gao
up died: testing server_shutdown_cleanup_register *** done with server_shutdown_cleanup_register *** ******** END in modperl_extra.pl, pid=25089 END in modperl_extra.pl, pid=25089 BTW, you can install

Re: Trunk: APR.so won't load

2015-04-09 Thread Jie Gao
+0100 > From: Steve Hay > To: Jie Gao > CC: "modperl@perl.apache.org" , mod_perl Dev > > Subject: Re: Trunk: APR.so won't load > > Sorry for the slow reply. > > I cannot reproduce the problem here on Windows. Your example module > loads up fine with

Re: Trunk: APR.so won't load

2015-03-27 Thread Jie Gao
APR ()'. On Win32, a static library of needed functions is built, and APR/APR::* then link into this library [Stas, Joe Schaefer, Randy Kobes] I hope this helps resolve this issue in any way. Regards, Jie * Jie Gao wrote: > Date: Sun, 1 Mar 2015 17:30:45 +1100 > From:

Trunk: APR.so won't load

2015-02-28 Thread Jie Gao
I have got the source code from the trunk, "make test" mostly passed except for a threading issue, but I installed it anyway. Tried to load a test module, but it fails with the following error: # Error: Can't load '/usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux-thread-multi/auto/APR/APR

Errors running "make test" on trunk mod_perl-2.0

2015-02-27 Thread Jie Gao
Source from https://svn.apache.org/repos/asf/perl/modperl/trunk/ . Make test fails: # > t/TEST -v t/perl/ithreads3.t [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/mod_perl-2.0/t/TEST -v 't/perl/ithreads3.t' /usr/local/httpd-2.4.12/bin/httpd

How to unsubscribe (Was: Re: Stop replying! (was: unsubscribe))

2015-02-04 Thread Jie Gao
Well, I am replying just to say that if you take a look at the full headers of a modperl list message, you will find that the info about how to unsubscribe is right in there. I guess people these days are less aware of the tricks of the old days... For people who use Exchange, you can go to "Actio

Re: mod_perl for Apache 2.4

2015-01-13 Thread Jie Gao
I guess one way many of us can help is to test it in our own environment. Authentication/authorisation would be the hard bit to get old code work with the new version. Regards, Jie * Randolf Richardson wrote: > Date: Tue, 13 Jan 2015 13:25:06 -0800 > From: Randolf Richardson > To: mod_per

Re: Apache 24 + mod_perl

2014-08-06 Thread Jie Gao
The patch, or rather the patching itself, does not work with a box of Red Hat Enterprise Linux Server release 6.5 for me here. Regards, Jie * Patrick Powell wrote: > Date: Wed, 6 Aug 2014 17:27:15 -0700 > From: Patrick Powell > To: olli hauer > CC: Steve Hay , Kurt Jaeger , > po...@freebsd

Re: $r->path_info unreliable?

2014-06-18 Thread Jie Gao
* Worik Stanton wrote: > Date: Thu, 19 Jun 2014 12:13:10 +1200 > From: Worik Stanton > To: mod_perl list > Subject: $r->path_info unreliable? > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 > Thunderbird/24.5.0 > > In my handler I call $r->path_info to determine the path

Re: $r->path_info unreliable?

2014-06-18 Thread Jie Gao
Could it be that after the URI --> filename translation, there is indeed nothing left there? A resource referred to by the "Location" directive does not necessarily correspond to a local file. Regards, Jie * Worik Stanton wrote: > Date: Thu, 19 Jun 2014 12:13:10 +1200 > From: Worik Stant

Re: Trouble with script execution

2014-05-19 Thread Jie Gao
Apache2::Reload Regards, Jie * Worik Stanton wrote: > Date: Mon, 19 May 2014 13:47:12 +1200 > From: Worik Stanton > CC: mod_perl list > Subject: Re: Trouble with script execution > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 > Thunderbird/24.5.0 > > On 19/05/14 12

Re: API Docs

2014-05-18 Thread Jie Gao
* André Warnier wrote: > Date: Sat, 17 May 2014 11:59:24 +0200 > From: André Warnier > To: mod_perl list > Subject: Re: API Docs > User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) > > Worik Stanton wrote: > >On 16/05/14 21:09, André Warnier wrote: > >>Maybe you should start here : > >>https

Re: API Docs

2014-05-16 Thread Jie Gao
* Worik Stanton wrote: > Date: Thu, 15 May 2014 11:52:39 +1200 > From: Worik Stanton > To: mod_perl list > Subject: API Docs > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 > Thunderbird/24.5.0 > > I am still trying to fathom the API. > > I have struck a snag with the d

Re: support for Apache 2.4

2014-02-16 Thread Jie Gao
* Dominic Hargreaves wrote: > On Mon, Feb 17, 2014 at 10:16:57AM +1100, Jie Gao wrote: > > Some distros, such as Debian, included the incompleted mp with Apache > > 2.4 anyway, but I don't think it works. > > Jie, > > It would be very helpful if you could kn

Re: support for Apache 2.4

2014-02-16 Thread Jie Gao
Hi Steve Thanks very much for the update. It would be good to have the todo list toward full support of Apache 2.4. As for slow Apache 2.4 uptake, I guess there is not much incentive for many people to upgrade, as the 2.2 works so well; and I reckon there was a similar situation with 1.3 -> 2.0

Re: support for Apache 2.4

2014-02-15 Thread Jie Gao
Hi Fred Thanks very much for the update. I have just tried to acces it, but I didn't see a difference. Will you please double-check the udpate? Regards, Jie * Fred Moyer wrote: > Date: Sat, 15 Feb 2014 15:22:29 -0800 > From: Fred Moyer > To: Perrin Harkins > CC:

Re: support for Apache 2.4

2014-02-14 Thread Jie Gao
r-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 > Thunderbird/24.3.0 > > OK, so to continue with the top posting, are you saying that there's > some expectation that Perl will someday be dropped? > > On 2/14/2014 7:01 PM, Jie Gao wrote: > >Hi All >

Re: support for Apache 2.4

2014-02-14 Thread Jie Gao
Hi All It would be good if there is even an indication of the state of the play that would help us make future decisions re mod_perl. The link http://svn.apache.org/snapshots/modperl-2.0/ on page http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution returns 404;

[mp 2.0.9-dev] Is AUTH_GRANTED defined anywhere?

2013-08-17 Thread Jie Gao
Hi guys, I am trying to get an authentication/authorisation handler work for Apache 2.4.6 with mod_perl's dev branch httpd24. Under Apache 2.2, I use this: return Apache2::Const::OK; when authentication is successful. Under 2.4, I get the following error: "AH00027: No authentication d

Re: About config file

2013-03-06 Thread Jie Gao
Hi Ken You can follow this: http://perl.apache.org/docs/2.0/devel/core/coding_style.html if you are after a standard coding style. Regards, Jie * Ken Peng wrote: > Date: Thu, 7 Mar 2013 11:00:37 +0800 > From: Ken Peng > To: modperl@perl.apache.org > Subject: About config file > User-A

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Jie Gao
* Kevin A. McGrail wrote: >... > Overall, I think the concept that things should be forked to a new > 2.4 mod_perl is best because if it's backwards compatibility that's > holding things back, I'd rather lose that. I'm currently building > on a devel box running on CentOS 6.2. There was a simil

Re: [mp2] mod_perl resulting apache failure

2013-02-05 Thread Jie Gao
Looks like mixing of different installations. To ensure a clean separation of Solaris' installations from yours, compile perl, apache, mod_perl and other required packages, and install them in /usr/local. I'd use the "-L" and "-R" flags to lock the paths to /usr/local/lib and other local lib loca

Re: mod_perl resulting Apache failure

2013-02-05 Thread Jie Gao
-+ > > *** Error code 1 > > make: Fatal error: Command failed for target `run_tests' > > [soni498@sz1061:NODB mod_perl-2.0.7]$ > > > > Thanks & Regards, > > - > > Jitendra Soni >

Re: mod_perl resulting Apache failure

2013-02-05 Thread Jie Gao
Hi Jitendra You may send a bug report per http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems . Regards, Jie Gao | Systems Administrator Information and Communications Technology THE UNIVERSITY OF SYDNEY 316 Abercrombie Street Building G17 | The University of Sydney | NSW

Re: mod_perl resulting Apache failure

2013-01-23 Thread Jie Gao
What are the flags you used to compile apache and perl (perl -V) ? Regards, Jie Gao | Systems Administrator Information and Communications Technology THE UNIVERSITY OF SYDNEY 316 Abercrombie Street Building G17 | The University of Sydney | NSW | 2006 T +61 2 8627 7824 | E j@sydney.edu.au

Re: mod_perl resulting Apache failure

2013-01-23 Thread Jie Gao
You seem to have more than 1 issue here. First of all, are you using the Apache that comes installed with Solaris? And what compiler did you use? Regards, Jie * jitendra.s...@accenture.com wrote: > Date: Sat, 19 Jan 2013 15:15:27 + > From: jitendra.s...@accenture.com > To: modperl@perl.

Re: the MP gets good performance

2013-01-03 Thread Jie Gao
I think we already know this "secret". :-) Thanks for another case of affirmation of the greatness of mod_perl! Thanks to current and past contributors and sponsors as well as Doug MacEachern who started it all... :-) Regards, Jie * Feng He wrote: > Date: Thu, 3 Jan 2013 22:40:35 +0800 > F

Re: alias command in modperl environment

2012-12-19 Thread Jie Gao
Raise loglevel to debug and see what you get in the log then. -Jie * Feng He wrote: > Date: Wed, 19 Dec 2012 17:05:20 +0800 > From: Feng He > To: Jie Gao > CC: modperl@perl.apache.org > Subject: Re: alias command in modperl environment > User-Agent: Mozilla/5.0 (Windows NT 5

Re: alias command in modperl environment

2012-12-19 Thread Jie Gao
What's the error message in your errlog.log? -Jie Please think of our environment and only print this e-mail if necessary. * Feng He wrote: > Date: Wed, 19 Dec 2012 16:40:13 +0800 > From: Feng He > To: modperl@perl.apache.org > Subject: alias command in modperl environment > User-Agent: Mo

  1   2   >