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
equire ip 127.0.0.1 > Require host localhost > Require host THESERVER > Not sure how you went with this issue, but you might want to try this instead: Require user USER1 USER2 Require ip 127.0.0.1 Require host localhost Require host THESERVER

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

2019-02-19 Thread Jie Gao
g I can find is: > > https://metacpan.org/pod/Authen::Simple > > which does not appear to include an IMAP component. Found this on CPAN: Module < Authen::Simple::IMAP (DMARTIN/Authen-Simple-IMAP-0.1.2.tar.gz) -Jie

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
o know mod_perl is used for this kind of projects. :-) Regards, Jie

Re: mod_perl developer wanted

2017-09-22 Thread Jie Gao
are not binary compatible to newer Perls > anymore and such things. One alternative, which I often do, is to build your own binaries. Regards, Jie > Mit freundlichen Grüßen, > > Thorsten Schöning > > -- > Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de

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

2017-07-31 Thread Jie Gao
nder mp2 and httpd2.2 :) What a nice surprise for mod_perl then. :-) -Jie > On Tue, Aug 1, 2017, at 05:51 AM, Randolf Richardson wrote: > > I don't know of anyone who uses Apache HTTPd v1.x or mod_perl > > version 1.x anymore. With mod_perl2 support added recently

Re: mod_perl and cgi-script handler

2017-06-11 Thread Jie Gao
HI Andre I used to use "perl-script", but this time round, performance is not a critical factor to consider, but rather the "backward compatibility", so a plain cgi script suffices. Regards, Jie > Date: Sun, 11 Jun 2017 11:57:25 +0200 > From: "André W

Re: mod_perl and cgi-script handler

2017-06-11 Thread Jie Gao
Hi Andre Yes, you are right: I have removed "SetHandler modperl", which I did not need for the response stage, and the FilesMatch container, and things still work! Thanks very much for your detailed reply. Regards, Jie * André Warnier (tomcat) wrote: > Date: Sun, 11 Jun

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
ny tips/pointers as to where else I should look would be much appreciated. Regards, Jie

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

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

2017-03-10 Thread Jie Gao
ve to Apache 2.4,in case there were others in the same boat. So, if there > are, jump right in and good luck! You might want to configure mod_remote_ip for this: RemoteIPHeader X-Forwarded-For RemoteIPInternalProxy address.of.your.proxy or RemoteIPTrustedProxy address.of.your.proxy Regards, Jie

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

2017-03-09 Thread Jie Gao
So, for now, as above, the > IP is extracted from X-Forwarded-For > and set with $r->useragent_ip( $ip ). You seem to be using an old version of mod_perl, for I remember I had to use "$r->useragent_addr->ip_get();" to get at the user's real address with the latest v

Re: Flush headers ?

2017-02-07 Thread Jie Gao
t;); $r->rflush(); sleep 60; print "Delayed output: ", time(), "\n"; # END , the headers were sent right away and were followed by the response body 60sec later. Regards, Jie

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: Mozill

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: Questio

Re: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread Jie Gao
Hi Will I can't put my finger on it, but B::Hooks::OP was last released on 11 Sept 2011, quite a while ago, and there could be a problem with recent versions of perl. Regards, Jie * William N. Braswell, Jr. wrote: > Date: Tue, 22 Nov 2016 23:14:11 -0600 > From: "William

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
For the completeness of issue reporting, please run the following script and post the output: #!/usr/bin/perl use strict; use warnings FATAL => 'all'; use ModPerl::TestReport; ModPerl::TestReport->new(@ARGV)->run; Jie From: Will

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 Mys

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

2016-10-31 Thread Jie Gao
ent_port = $r->useragent_addr->port(); . Regards, Jie * A. Warnier wrote: > Date: Sun, 30 Oct 2016 12:12:57 +0100 > From: "A. Warnier" > To: modperl@perl.apache.org > Subject: Re: Apache 2.4, mod_perl 2.0.9, APR::SockAddr->port() missing ? > User-Agent: Mozil

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: mo

Re: [RELEASE CANDIDATE] mod_perl-2.0.10 RC2

2016-10-06 Thread Jie Gao
ages of interest status: Apache2: - Apache2::Request : - CGI: 4.26 ExtUtils::MakeMaker: 7.04_01 LWP: 6.15 mod_perl : - mod_perl2 : 2.09 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was

Re: [RELEASE CANDIDATE] mod_perl-2.0.10 RC1

2016-10-02 Thread Jie Gao
PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS

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

2016-08-27 Thread Jie Gao
local/lib/perl5/site_perl/5.18.2 /usr/local/lib/perl5/site_perl/5.18.0 /usr/local/lib/perl5/site_perl . *** Packages of interest status: Apache2: - Apache2::Request : - CGI: 3.65 ExtUtils::MakeMaker: 6.98 LWP: 5.837 mod_perl : - mod_perl2 : 2.10 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was generated by t/REPORT on Sun Aug 28 03:52:33 2016 GMT. -8<-- End Bug Report --8<-- Regards, Jie

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

2016-08-25 Thread Jie Gao
ild). > > Without mod_perl-SVN and with LWP-5.835. Sorry got mixed up: Should be Without mod_perl-SVN and with LWP-6.15. -Jie

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
1 > > Hi, > > Is Apache modperl still in active development? Apparently, yes. Regards, Jie > thanks.

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? > &

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
W. Rowe Jr would be much appreciated. Regards, Jie * William A Rowe Jr wrote: > Date: Thu, 19 May 2016 11:23:33 -0500 > From: William A Rowe Jr > To: httpd , modperl@perl.apache.org > Subject: Re: New segfault with 2.4.20 with mod_perl > > Re-sending to include the correct pe

Re: $r->requires and register_auth_provider

2015-12-27 Thread Jie Gao
by way of subrequests. Yeah, one may say this is not as efficient as before, but the benefit of it is additional functionality: more granular control. Apache 2.4 doc will be helpful to you. Regards, Jie > On Tue, Dec 22, 2015 at 5:19 PM, André Warnier (tomcat) > wrote: > >

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
n the priority type of the modules. Well, check out this: https://perl.apache.org/docs/2.0/user/handlers/filters.html#C_PerlOutputFilterHandler_ . Regards, Jie

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
there is an error, nor do they persist across internal redirects. You might want to try err_headers_out instead, depending on the circumstances. Regards, Jie > My Apache configuration is - > > ProxyRequests On > ProxyVia On > ProxyRemote * ht

Re: Enquiry about mod_perl project state

2015-09-01 Thread Jie Gao
t of the Apache h2 module for http2 is in full >bloom. Not sure if mod_perl can catch up with that. Regards, Jie * Igor Chudov wrote: > Date: Tue, 1 Sep 2015 16:45:47 -0500 > From: Igor Chudov > To: "Randal L. Schwartz" > CC: Dr James Smith , Mod_Perl > Subj

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
rhauled. You can play with the RequireAll/RequireAny containers to get a hang of it. I am certainly exploring it now myself. Regards, Jie > I have looked all around apache's documentation on how to upgrade from 2.2 > to 2.4, but they don't include much about using PerlAddAuthzP

Apache24: mod_perl authen + default access handler: Possible?

2015-06-23 Thread Jie Gao
) only, and have the default Apache access modules for authorisation. I define "SetHandler modperl" for the URL location, but the default Apache access modules are then blocked. Any way out of this apart from re-implementing all those Apache access module functions in mod_perl? Regards, Jie

Re: Apache 2.4 Upgrade

2015-06-15 Thread Jie Gao
t in SVN. http://people.apache.org/~stevehay/mod_perl-2.0.9-rc3.tar.gz -Jie > On Mon, Jun 15, 2015 at 5:12 PM, Kevin A. McGrail wrote: > > > On 6/15/2015 5:02 PM, John Dunlap wrote: > > > > I am getting the client ip address in every request and checking it > >

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC3

2015-06-12 Thread Jie Gao
/usr/local/lib/perl5/site_perl/5.20.2 /usr/local/lib/perl5/5.20.2/x86_64-linux-thread-multi /usr/local/lib/perl5/5.20.2 /usr/local/lib/perl5/site_perl/5.18.2 /usr/local/lib/perl5/site_perl/5.18.0 /usr/local/lib/perl5/site_perl . Apache: /usr/local/httpd-2.4.12 All tests successful. Regards, Jie

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

2015-06-01 Thread Jie Gao
/usr/local/lib/perl5/site_perl/5.20.2 /usr/local/lib/perl5/5.20.2/x86_64-linux-thread-multi /usr/local/lib/perl5/5.20.2 /usr/local/lib/perl5/site_perl/5.18.2 /usr/local/lib/perl5/site_perl/5.18.0 /usr/local/lib/perl5/site_perl All tests successful for "make test". No e

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

2015-05-15 Thread Jie Gao
/usr/local/lib/perl5/site_perl/5.20.2 /usr/local/lib/perl5/5.20.2/x86_64-linux-thread-multi /usr/local/lib/perl5/5.20.2 /usr/local/lib/perl5/site_perl/5.18.2 /usr/local/lib/perl5/site_perl/5.18.0 /usr/local/lib/perl5/site_perl All tests successful for "make test".

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

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
if I put it outside the container, it'll apply globally to everything and that is not what I want. Can somebody clarify this? Regards, Jie

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

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
. ok t/sok.t ...... ok All tests successful. Files=12, Tests=85, 5 wallclock secs ( 0.09 usr 0.06 sys + 3.82 cusr 0.91 csys = 4.88 CPU) Result: PASS [warning] server localhost:8529 shutdown -Jie Regards, Jie Please think of our environment and only print this e-m

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
_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -DMP_COMPAT_1X -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG Regards, Jie * Steve Hay wrote: > Date: Thu, 9 Apr 2015 14:29:44

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
r-x. 1 root root 1045 Feb 27 20:07 libaprutil-1.la lrwxrwxrwx. 1 root root 21 Feb 27 20:07 libaprutil-1.so -> libaprutil-1.so.0.5.4 lrwxrwxrwx. 1 root root 21 Feb 27 20:07 libaprutil-1.so.0 -> libaprutil-1.so.0.5.4 -rwxr-xr-x. 1 root root 589222 Feb 27 20:07 libaprutil-1.so.0.5.4 drwxr-xr-x. 2 root root4096 Feb 27 20:07 pkgconfig Regards, Jie.

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
"Actions->View original message" to get the headers. Regards, Jie * Winfried Neessen wrote: > Date: Wed, 4 Feb 2015 16:14:46 +0100 > From: Winfried Neessen > To: modperl > Subject: Stop replying! (was: unsubscribe) > X-Mailer: Zimbra 8.5.0_GA_3050 (ZimbraWebClien

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

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 Ja

Re: $r->path_info unreliable?

2014-06-18 Thread Jie Gao
>path_info to determine the path used to call my > script. It looks to me, on the face of it, that you should use "$r->uri" instead. $r->path_info() should return nothing if there is no such a file in the local file system that corresponds to that name. Regards, Jie >

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 +12

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.

Re: API Docs

2014-05-18 Thread Jie Gao
u're getting. mod_perl advocacy seems alive and well. > Don't hesitate to ask if you have further questions. >... I think it was because list mail was being held up somewhere, and people thought nobody had replied. It was interesting to see the variety of responses to the question. :-) I have certainly learnt something from them. Regards, Jie

Re: API Docs

2014-05-16 Thread Jie Gao
I have struck a snag with the documentation. > > > https://perl.apache.org/docs/2.0/api/Apache2/Connection.html#Synopsis > says > > use Apache2::Connection (); > use Apache2::RequestRec (); > > my $c = $r->connection; > > > What is $r? It is

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
the incompleted mp with Apache 2.4 anyway, but I don't think it works. Regards, Jie * Steve Hay wrote: > Date: Sun, 16 Feb 2014 15:36:18 + > From: Steve Hay > To: Dominic Hargreaves > CC: modperl@perl.apache.org > Subject: Re: support for Apache 2.4 > > On 16

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
Hi Bill I was referring to mod_perl only. Wasn't there a Perl Renaissance recently? :-) Regards, Jie * Bill McCormick wrote: > Date: Fri, 14 Feb 2014 21:15:59 -0600 > From: Bill McCormick > To: modperl@perl.apache.org > Subject: Re: support for Apache 2.4 > Use

Re: support for Apache 2.4

2014-02-14 Thread Jie Gao
. Regards, Jie * Randolf Richardson wrote: > Date: Fri, 14 Feb 2014 15:18:12 -0800 > From: Randolf Richardson > To: modperl@perl.apache.org > Subject: Re: support for Apache 2.4 > X-mailer: Pegasus Mail for Windows (4.63) > > > Anybody know when mod_perl will support Apach

[mp 2.0.9-dev] Is AUTH_GRANTED defined anywhere?

2013-08-17 Thread Jie Gao
ke: return Apache2::Const::AUTH_GRANTED; But I can't find the constant "AUTH_GRANTED" or "AUTHZ_GRANTED" defined anywhere. Thanks for any help. Regards, -JIe

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

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Jie Gao
running on CentOS 6.2. There was a similar discussion when apach2 came along, and the outcome was that Stas started another version of mod_perl for it. There are enough backward compatibility issues for us to start a new apache24 mod_perl. -Jie

Re: [mp2] mod_perl resulting apache failure

2013-02-05 Thread Jie Gao
/local/lib and other local lib locations, something that has worked for me for many years. Regards, Jie * jitendra.s...@accenture.com wrote: > Date: Tue, 5 Feb 2013 12:29:49 + > From: jitendra.s...@accenture.com > To: modperl@perl.apache.org > Subject: [mp2] mod_perl re

Re: mod_perl resulting Apache failure

2013-02-05 Thread Jie Gao
Nobody can hope to help you unless you provide all information required for bug reporting as describe in http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems . Regards, Jie * jitendra.s...@accenture.com wrote: > Date: Tue, 5 Feb 2013 09:44:11 + > From: jite

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

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 2

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 environ

  1   2   >