Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
#x27;t let Cpanel touch your regular Apache configuration, let alone one with mod_perl configured. On Thu, Aug 8, 2024, 4:49 PM Jeff Pang wrote: In now days configuration is not a hard job if you like to learn. everyone can get a VPS from the cloud provider with low cost. :) -- regards, Jeff Pang

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
bother any super user for help. In now days configuration is not a hard job if you like to learn. everyone can get a VPS from the cloud provider with low cost. :) -- regards, Jeff Pang

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
. -- regards, Jeff Pang

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
On 2024-08-08 07:26, Jan Kasprzak wrote: Hi, Jeff, I work on a project with more than 1M lines of code in Perl (and mod_perl). My thoughts: Jeff Pang wrote: For me I run several apps on mod_perl, including a AI prediction app which costs heavy CPU/ram. These apps run for long time and

reasons for modperl declines?

2024-08-07 Thread Jeff Pang
somewhat out of date 2. mp lacks threads support 3. lacks a modern framework (rails like) And others? what's your thought? Thanks -- regards, Jeff Pang

does anyone know how to embed webdav protocal into a handler?

2018-12-26 Thread Jeff
yes I have a webdav backend. want to run modperl as its front-proxy. so any experience? happy new year.

Re: support for Apache 2.4

2014-02-20 Thread Jeff Trawick
On Thu, Feb 20, 2014 at 3:49 PM, Andy Colson wrote: > On 02/16/2014 09:36 AM, Steve Hay wrote: > >> On 16 February 2014 15:11, Dominic Hargreaves wrote: >> >>> On Sun, Feb 16, 2014 at 11:10:20PM +1100, Carl Brewer wrote: >>> Having just downloaded this latest SVN repo, a grep for "2.4" in t

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Jeff Trawick
On Sun, Feb 9, 2014 at 9:40 AM, Steve Hay wrote: > On 9 February 2014 05:49, Steve Baldwin wrote: > > Hi, > > > > Not sure what I'm doing wrong here. I'm just trying to get the client ip > > address in a PerlResponseHandler as follows: > > > > : > > use Apache2::Connection; > > : > > my $remo

Re: Debugging "segmentation fault"

2013-09-02 Thread Jeff Trawick
On Mon, Sep 2, 2013 at 1:12 PM, Igor Chudov wrote: > I run a busy website algebra.com on a CentOS server. > > Occasionally, apache processes crash with a "segmentation fault". > > I often get 140+ object requests per second, so isolating which request > caused segfault, by looking at logs, is not

Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jeff Trawick
On Wed, Jul 3, 2013 at 4:31 PM, Jim Schueler wrote: > In light of Joe Schaefer's response, I appear to be outgunned. So, if > nothing else, can someone please clarify whether "de-chunked" means > re-assembled? yes, where re-assembled means convert it back to the original data stream without any

Re: How to determine what makes Apache crash?

2013-03-07 Thread Jeff Trawick
On Thu, Mar 7, 2013 at 2:43 PM, Michiel Beijen wrote: > On Thu, Mar 7, 2013 at 4:02 PM, Jeff Trawick wrote: > > > mod_backtrace (http://emptyhammock.com/projects/httpd/diag/) may be a > > shortcut to getting a backtrace. There's a binary for use with Apache > 2.2 >

Re: How to determine what makes Apache crash?

2013-03-07 Thread Jeff Trawick
On Thu, Mar 7, 2013 at 9:52 AM, Michiel Beijen wrote: > Hi, > > I'm using mod_perl 2.0.7 on Windows with Apache 2.2.23. I got Apache > from Apachelounge, and compiled mod_perl and perl 5.16.2 myself using > Visual Studio 2008. I'm using a 32-bit Windows Vista. > > Pretty frequently my app (which w

development state of MP

2012-08-07 Thread Jeff Pang
I have not used modperl for long days. Is Apache mod_perl in actively development recently? or just in maintenance state? Thank you.

Any reason to have SetEnv/PassEnv PERL5LIB for mod_perl .conf configuration?

2012-07-26 Thread Jeff Trawick
(Not PerlSetEnv, just plain SetEnv) I saw this in a .conf snippet for configuring mod_perl but AFAIK this would only be used by external CGI processes that needed that to find the right Perl. TIA!

Re: User abort/stop, modperl 2 and TCP FIN / RST?

2012-06-11 Thread Jeff Trawick
On Mon, Jun 11, 2012 at 12:39 PM, Randolf Richardson wrote: >                 > http://httpd.apache.org/docs/current/mod/core.html#keepalivetimeout > >        Note:  The KeepAliveTimeout directive is only available starting > with Apache HTTPd v2.3.2. It is ancient. 2.3.2 brought the ability to

duplicate the client's requests with mod_proxy (or mod_perl)?

2011-12-21 Thread Jeff Pang
When apache mod_proxy pass the client's request to an original server, I want it always duplicate the request to another webserver. For example, the request is following: client -> mod_proxy -> original-server What I want is: client -> proxy -> original-server |-> another web

Re: Apache2::Request appears to not capture the full POST:ed value

2011-10-10 Thread McCarrell, Jeff
Andre is correct. Semi-colon is a valid query string separator, in addition to ampersand &. HTTP 1.x being so widely deployed, it is very hard to change the spec. So supporting semi-colon is a W3C recommendation. C.f. http://en.wikipedia.org/wiki/Query_string -- jeff On 10/10/11 2:1

Re: ModPerl::RegistryLoader

2011-07-25 Thread McCarrell, Jeff
I am not sure if this directly applies to your issue, but I got segfaults in DBI when I just opened the DB handle once in the parent, reusing the DBH in child processes (a bug). The issue went away when I ensured that every child process did its own DBI->connect. HTH On 7/22/11 11:17 AM, "Jiří P

Re: Best approach to store Application Configuration

2011-07-11 Thread McCarrell, Jeff
Have fun, -- jeff From: Jerry Pereira mailto:online.je...@gmail.com>> Date: Mon, 11 Jul 2011 16:41:13 -0500 To: Jeff McCarrell mailto:jmcca...@akamai.com>> Cc: "modperl@perl.apache.org<mailto:modperl@perl.apache.org>" mailto:modperl@perl.apache.org>> Subject: Re: Best

Re: Best approach to store Application Configuration

2011-07-11 Thread McCarrell, Jeff
, and reload it if needed. Overall, I was pretty happy with this approach, and so were the operations folks who have to configure the settings in production. HTH, -- jeff From: Jerry Pereira mailto:online.je...@gmail.com>> Date: Mon, 11 Jul 2011 16:07:58 -0500 To: "modperl@perl

Re: How do you use mod_perl for your web application?

2011-06-27 Thread McCarrell, Jeff
On 6/27/11 11:44 AM, "McCarrell, Jeff" wrote: >While this may not be the last word on this subject of DBIx::Class Db conn >caching, >a cursory glance at the documentation shows: >(http://search.cpan.org/~frew/DBIx-Class-0.08192/lib/DBIx/Class/Manual/Int >r >o.pod#Con

Re: How do you use mod_perl for your web application?

2011-06-27 Thread McCarrell, Jeff
On 6/27/11 8:37 AM, "Fred Moyer" wrote: >>DBIx::Class just does its own persistent connection and this is why it >>doesn't need Apache::DBI. > >Do you have any evidence for this claim? I've been using DBIx::Class >with Apache::DBI for several years and have never seen anything to >this effect. >

Re: Debugging a long process

2011-06-15 Thread McCarrell, Jeff
le component in my stack which was the bottleneck. So I fixed that one, then fixed the next hot spot ... you get the picture. There are a lot of assumptions here that may or may not actually be true in your case... HTH, -- jeff On 6/15/11 1:29 PM, "Tosh Cooey" wrote: >Hi Fred, I

Re: ModPerl handler

2011-05-18 Thread McCarrell, Jeff
http://perl.apache.org/docs/2.0/user/intro/start_fast.html There are a wealth of good (maybe even great) docs here that explain the request life cycle, configuration … pretty much everything you need to know. Happy reading! From: marco mailto:marcodis...@gmail.com>> Date: Wed, 18 May 2011 14:43:

Re: Ubuntu and mod_perl

2011-05-17 Thread Jeff Trawick
On Tue, May 17, 2011 at 8:25 PM, silent wrote: > you have compiled and installed one apache, and you made it start at boot > time, > you must disable it or remove it ( do not let it start at boot time ) > > 2011/5/18 Tom Kane : >> I tried to incorporate suggestions I've received. After restarting

Re: How to reference %Location outside of ...?

2011-02-28 Thread Jeff Nokes
{$uri} ... You can reference: http://perl.apache.org/docs/2.0/api/Apache2/PerlSections.html for a bit more info as well. Going from memory so I could be a bit rusty, but I think it's close. Hope it helps, - Jeff From: E R To: modperl Sent: Mon, F

Tuning response time from Apache server (using mod_perl handler)

2011-02-17 Thread Jeff Anderson
Greetings, I have a mod_perl handler (that is intended to run on a proxy server) written like so: package Handler; sub handler { return -1 } 1; I am testing this handler by registering it as a Trans handler like so: PerlTransHandler Handler *I have also tried testing by registering as a Fixu

Re: Dollar Self Storage (aka mod_perl children sharing/updating data on a schedule)

2011-01-26 Thread Jeff Anderson
n precious, just pretty darned good accuracy. Please feel free to keep this discussion open, ask questions or make further suggestions. Thank you all once again! jeffa On Thu, Jan 13, 2011 at 7:12 AM, Perrin Harkins wrote: > Hi Jeff, > > > I am looking to set up a mod_perl handler w

Dollar Self Storage (aka mod_perl children sharing/updating data on a schedule)

2011-01-07 Thread Jeff Anderson
Greetings, I am looking to set up a mod_perl handler which keep track of the count of requests coming in. Each child process will store this data in local memory and after 5-10 minutes have passed, each child process will merge its data into a central database, the goal being that each child will

Re: Re: modperl for ubuntu

2010-12-01 Thread Jeff Pang
Thanks for all the kind info. I have installed it successfully in my ubuntu 9.10 from the sources. - Original Message - From: Marilyn Burgess To: modperl Subject: Re: modperl for ubuntu Date: 2010-12-2 01:04:52 Hello Jeff, Does Ubuntu use the same packages as Debian? On Debian I do

modperl for ubuntu

2010-11-30 Thread Jeff Pang
Hello, Does modperl and Apache2::Request have a port for Ubuntu and which will be installed by apt-get? Ubuntu's development environment is so worse, has been losing so many libraries, compiling modperl under which is hard. Thanks. Jeff Pang

Re: unsubscribe

2010-11-22 Thread Jeff Pang
unsubscribe from the list, send an empty message to: modperl-unsubscr...@perl.apache.org Jeff Pang http://blog.sina.com.cn/pajeu - Original Message - From: biao zhou To: Subject: unsubscribe Date: 2010-11-23 07:52:02

Re: session module

2010-10-29 Thread Jeff Pang
于 2010-10-29 20:42, Fayland Lam 写道: try Dancer. which is very suitable for small application. just one file. Ok I will check out it. I first time knew Dancer from ruby 2 years ago. Never know that there is a perl execution of that.

Re: session module

2010-10-29 Thread Jeff Pang
::Session get better performance under modperl? Thanks. Jeff.

Re: session module

2010-10-29 Thread Jeff Pang
于 2010-10-29 20:28, Fayland Lam 写道: try a framework. that's much more popular. :) I wrote a small application with few scripts. A framework like catalyst is too large to use for me. Thanks. Jeff.

session module

2010-10-28 Thread Jeff Pang
is Apache::Session or CGI::Session better for mod_perl? Thanks.

Re: modperl book

2010-06-18 Thread Jeff McCarrell
;s Voice) <http://www.amazon.com/Pro-Apache-Third-Experts-Voice/dp/1590593006/ref=sr_1 _1?ie=UTF8&s=books&qid=1276878391&sr=8-1> for the details of the underlying mechanisms m_p was giving me access to. Have fun... -- jeff On 6/18/10 7:10 AM, "Chris Datfung" wrote:

Re: ExtFilterDefine persistency

2010-05-20 Thread Jeff Trawick
On Wed, May 19, 2010 at 6:36 PM, David wrote: > If I haven't sent this to the correct place please inform me. > > I've look through the assorted documentation, both mod_perl and Apache, and > haven't found a solution to my situation. I've also given the internet a try > with no luck. I admit I'm n

Re: perl 5.12 / mod_perl

2010-05-06 Thread Jeff Trawick
2010/5/6 Torsten Förtsch : > On Thursday 06 May 2010 13:53:37 tech_list wrote: >> >> [  error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed: >> >> [  error] Use of assignment to $[ is deprecated at >> >> /usr/local/apache2/bin/apxs line 86. >> > Okay, I see. My apxs starts with > >  #!/u

Re: non-stop generational modperl config update strategies?

2010-04-26 Thread Jeff McCarrell
Thanks to Perrin and Torsten for their input. I will be investigating Torsten's MMapDB, and will report results in a few weeks. -- jeff

Re: Pre-processing the request body

2010-04-21 Thread Jeff McCarrell
ering Concepts ... Writing well-behaved Filters Filter Examples I would guess this book would provide all of the concepts, as well as good pragmatic advice you need to move forward. HTH, -- jeff On 4/21/10 7:40 AM, "John ORourke" wrote: > What is the most modperl-like way to d

non-stop generational modperl config update strategies?

2010-04-20 Thread Jeff McCarrell
-stop apache instance. So modperl experts: any pointers on prior art here? I'd love to hear about strategies that have been shown to work in real life. TIA, -- jeff

Re: Apache2::SubProcess sucks

2010-02-20 Thread Jeff McCarrell
N"); open(STDERR, "+>&STDIN"); Proc::Daemon does the same thing... HTH, -- jeff On 2/20/10 1:10 PM, "Torsten Förtsch" wrote: > - is there a portable way to get all open file descriptors of the current > process? Under Linux one can readdir(/proc/self/fd). On Darwin I once simply

Re: ApacheCon 2009 in Oakland

2009-10-20 Thread Jeff Trawick
On Mon, Oct 19, 2009 at 12:15 AM, Fred Moyer wrote: > Greetings, > > Is anyone here attending ApacheCon in Oakland this year?  I am > organizing a mod_perl social.  I'll be at the conference at least one > day hacking mod_perl. This lurker will be there.

Re: UNSUBSRIBE

2009-09-24 Thread Jeff Pang
2009/9/24 Robertson, Gordon H CIV DISA GES-E : > Hi, > > Please take me out of mailing list > please send an empty mail to modperl-unsubscr...@perl.apache.org, thanks.

Re: Ways to scale a mod_perl site

2009-09-18 Thread Jeff Peng
said, how about using memcached for this case? Regards, Jeff Peng

Re: Why people not using mod_perl

2009-09-17 Thread Jeff Peng
Just was curious, is CGI running with perl6 most likely the same as Java with JVM? Regards, Jeff Peng

Re: Ways to scale a mod_perl site

2009-09-17 Thread Jeff Peng
-Original Message- >From: Phil Van >Sent: Sep 18, 2009 4:10 AM >To: Jeff Peng >Cc: modperl-list >Subject: Re: Ways to scale a mod_perl site > >Just curious: since you are already running FastCGI, why not serving >dynamic contents directly via it? we needed

Re: Why people not using mod_perl

2009-09-17 Thread Jeff Nokes
: Jeff Nokes Cc: mod_perl list Sent: Thursday, September 17, 2009 4:52:38 AM Subject: Re: Why people not using mod_perl Interesting. I did not even know about that #2 guy. What sort of hardware and OS are you running there? Igor On Thu, Sep 17, 2009 at 12:54 AM, Jeff Nokes wrote: >W

Re: Ways to scale a mod_perl site

2009-09-17 Thread Jeff Peng
-Original Message- >From: Cosimo Streppone >Sent: Sep 17, 2009 3:43 AM >To: Mod_perl users >Cc: Jeff Peng >Subject: Re: Ways to scale a mod_perl site > >Jeff Peng wrote: > >> How many servers? >> We have run the systems with about 500 million PV

Re: Ways to scale a mod_perl site

2009-09-16 Thread Jeff Peng
How many servers? We have run the systems with about 500 million PV each day, with many squid boxes + 200 apache webservers + 200 mysql hosts. The applications were written with FastCGI. -Original Message- From: Igor Chudov Sent: Sep 16, 2009 11:49 AM To: Mod_Perl Subject: Ways to s

Re: Why people not using mod_perl

2009-09-16 Thread Jeff Nokes
, the #2 API client (in listings) was perl-based, and using it. Cheers, - Jeff From: Igor Chudov To: Jeff Nokes Cc: Brad Van Sickle ; mod_perl list Sent: Wednesday, September 16, 2009 8:26:53 PM Subject: Re: Why people not using mod_perl You must have u

Re: Why people not using mod_perl

2009-09-16 Thread Jeff Peng
from what you all stated, does it mean mod_perl is really outmoded comparing to Java? Here Java programmer is cheaper than mod_perl developer. But if mp can get better performance, we may consider it as first choice. Regards, Jeff.

Re: Why people not using mod_perl

2009-09-16 Thread Jeff Nokes
Doesn't Amazon run mod_perl/Mason? BTW, I agree with most of your points (would debate #4,5). I may substitute the phrase "More convenient" for "Easier" in #3. I would also add ... #7) How many engineers are available to hire that know or want to work with said technology? I built a gre

Re: Why people not using mod_perl

2009-09-16 Thread Jeff Pang
On Tue, 30 Nov 2004 22:38:11 + modperl[at]att.net wrote: 3) capacity/scalable mod_perl is very scalable --- I mean, one can properly config a single server to handle dynamic content for 200K daily unique IPs. PHP may end up with just 100K and servlet ends up at around 50K. I'm just curio

Re: mp2 / Apache byterange filter

2009-06-18 Thread Jeff Trawick
On Thu, Jun 18, 2009 at 10:22 AM, Adriano Caloiaro wrote: > Hello, > > Could someone point me in the correct direction to support byte range > responses in mod_perl2? From what I've read, Apache should understand that > it needs to apply the byterange filter whenever $r->sendfile is used on a > l

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread Jeff Trawick
On Fri, May 22, 2009 at 5:10 PM, William A. Rowe, Jr. wrote: > Jeff Trawick wrote: > > > > Backing up a bit... > > > > I originally thought we could map bit values in 2.2.x to avoid affecting > > modules, but that isn't possible since includes-with-exec is tw

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread Jeff Trawick
On Fri, May 22, 2009 at 4:21 PM, Jeff Trawick wrote: > > > On Fri, May 22, 2009 at 2:59 PM, William A. Rowe, Jr. > wrote: > >> Joe Orton wrote: >> > >> > Having thought about this longer, I do agree that it would be reasonable >> > to provide OPT_

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread Jeff Trawick
On Fri, May 22, 2009 at 2:59 PM, William A. Rowe, Jr. wrote: > Joe Orton wrote: > > > > Having thought about this longer, I do agree that it would be reasonable > > to provide OPT_INCNOEXEC as a noop integer for back-compat, but, it > > turns out we're out of bits - allow_options_t is an unsigned

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread Jeff Trawick
On Fri, May 22, 2009 at 2:46 PM, Torsten Foertsch wrote: > On Fri 22 May 2009, Jeff Trawick wrote: > > Hmmm, after trying to use what seems like a cool feature, I find that > > mod_perl was never taught to use the Apache 2's mod_include plug-in > > interface. >

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread Jeff Trawick
On Thu, May 21, 2009 at 3:25 PM, Jeff Trawick wrote: > > > On Thu, May 21, 2009 at 3:08 PM, William A. Rowe, Jr. > wrote: > >> Jeff Trawick wrote: >> > Does somebody else care to share their opinion on this? Which of these >> > are okay? >> > &g

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-21 Thread Jeff Trawick
On Thu, May 21, 2009 at 3:08 PM, William A. Rowe, Jr. wrote: > Jeff Trawick wrote: > > Does somebody else care to share their opinion on this? Which of these > > are okay? > > > > - existing mod_perl releases (and potentially other third-party modules) &g

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-21 Thread Jeff Trawick
On Wed, May 20, 2009 at 8:53 AM, Joe Orton wrote: > On Sun, May 17, 2009 at 11:15:00AM -0400, Jeff Trawick wrote: > > On Tue, May 12, 2009 at 9:17 AM, wrote: > > > > > Author: covener > > > Date: Tue May 12 13:17:29 2009 > > > New Revision: 773881 >

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-17 Thread Jeff Trawick
On Tue, May 12, 2009 at 9:17 AM, wrote: > Author: covener > Date: Tue May 12 13:17:29 2009 > New Revision: 773881 > > URL: http://svn.apache.org/viewvc?rev=773881&view=rev > Log: > backport 772997, 773322, 773342 from trunk. > Reviewed By: jorton, rpluem, covener > > Security fix for CVE-2009-119

Re: Vulnerability ?

2009-05-06 Thread Jeff Trawick
On Wed, May 6, 2009 at 7:40 AM, Francois Pernet wrote: > Hi, > > We have received the following vulnerability report: > http://www.securityfocus.com/bid/23192/info > > I read the changes for the mod_perl versions but did not find anything > really clear. We are using mod_perl version 2.0.3 compil

Re: update site/lib

2009-04-30 Thread Jeff Zhuk
dll nor anything in the C:/Perl/site/lib/auto/Win32 directory have been changed.   I checked the date on Cwd.pm - it is dated 10/30/2008.   Any advice?   Thank you,   Jeff   --- On Thu, 4/30/09, KT Lo wrote: From: KT Lo Subject: Re: update site/lib To: "Jeff Zhuk" Date: Thursday, Ap

update site/lib

2009-04-29 Thread Jeff Zhuk
I have multiple packages in Perl/site/lib.   Some of them are old and not compatible with current 5.8.9. What is the way to upgrade all packages?   Something like: ppm install "URL" -all   Thank you for your help,   Jeff      

Internal Server Error and malformed header from script

2009-04-27 Thread Jeff Zhuk
Options +ParseHeaders Options +ExecCGI #PerlSendHeader On Order allow,deny Allow from all --- Thank you to everyone who responded to my messages, espesially Randy and Andre,   Jeff Zhuk

Re: PerlIO :APR / apr_file_open() flag issue

2009-04-25 Thread Jeff Trawick
>The only issue I could see is if APR_WRITE was addeed >at some point somewhat recently, and this change would break >against older APRs. APR_READ and/or APR_WRITE has been required since the first APR release. Here's the logic to check for APR_READ/APR_WRITE back in 1999 (still called "ap_open" a

Re: cannot LoadModule mod_perl on apache2.2

2009-04-22 Thread Jeff Zhuk
es separately - same effect SetHandler perl-script    # these instructions are on the global level, same effect inside a directory   Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all Thank you for your help,   Jeff --- On Mon, 4/20/09, Jeff Zhuk

cannot LoadModule mod_perl on apache2.2

2009-04-20 Thread Jeff Zhuk
e http.conf:   LoadFile "C:/Perl/bin/perl58.dll" LoadModule perl_module modules/mod_perl.so   Apache doesn't want to start unless I comment the LoadModule line.   I don't see any specific error in the error.log (I think this log only starts after Apache starts)   Any advice?   Thank you,   Jeff

Re: mod_perl conf test

2009-04-08 Thread Jeff Soules
> and put the following lines in C:\Program Files\Apache Software > Foundation\Apache2.2\conf\httpd.conf > > PerlModule Apache2::Hello > > SetHandler modperl > PerlResponseHandler Apache2::Hello > > > > > but http://localhost/hellp It gives HTTP 404 Not Found error. Just to take care

google's web music player

2009-04-04 Thread Jeff Pang
Hello, Google has introduced its music searching here (music.google.cn), with an online web music player. what I'm surprised with is, even I deleted all the browser's cookies and buffers (I use firefox), after re-open that web music player, the list of songs is still there (I also tried changin

Re:modperl or php? Re: decline and fall of modperl?

2009-03-27 Thread Jeff Pang
> Message du 27/03/09 07:09 > De : "Phil Van" > A : modperl@perl.apache.org > Copie à : > Objet : modperl or php? Re: decline and fall of modperl? > > daily traffic: 100,000 - 500,000 unique sessions (medium to medium-large > sites) > => modperl in a cluster environment > me again: modperl as we

Re: which reverse proxy for modperl?

2008-12-17 Thread Jeff Pang
rite (or so called NAT or reverse NAT), not a proxy server. One of our applications, have two LVS before 200+ Squid boxes, the backend are hundreds of fastcgi servers. LVS and Squid run with DR mode, could reach to 10G+ traffic. -- Jeff Pang http://home.arcor.de/pangj/ Créez votre ad

Re: which reverse proxy for modperl?

2008-12-17 Thread Jeff Pang
:02 PM, Jeff Pang wrote: > > Hello, > > > > I have a modperl application on a host which is running with heavy load. > > I have the plan to put a reverse proxy before it. > > There are two well known reverse proxy software, one is Squid, another is > > ngi

mod_perl vs. mod_python

2008-12-13 Thread Jeff Pang
Just ask out of being curious, are mod_perl and mod_python the same or similar stuff? Which is better (in performance or ease to use)? Thanks. Jeff. Créez votre adresse électronique prenom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

which reverse proxy for modperl?

2008-12-12 Thread Jeff Pang
Hello, I have a modperl application on a host which is running with heavy load. I have the plan to put a reverse proxy before it. There are two well known reverse proxy software, one is Squid, another is nginx. Which one is better for modperl application? or is there any others which are better t

Re: Any success with storing photos in a database?

2008-09-30 Thread Jeff Pang
problem is LiveJournal, who use their custom file storage API > (MogileFS) and serve the files with their own web server (perlbal). > I had used MogileFS for storing photos, that's a good application.See: http://www.danga.com/mogilefs/ AFAIK, Perlbal is reverse proxy before the webserver,

a require problem

2008-08-29 Thread Jeff Pang
"perl mysrc.pl", it can't run, saying the routines in myttt.tmpl can't be found. How to fixup it? thanks. Regards, Jeff. Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

Re: modperl static or dynamic

2008-07-18 Thread jeff pang
These are the install documents for mp2: http://perl.apache.org/docs/2.0/user/install/install.html#Dynamic_mod_perl http://perl.apache.org/docs/2.0/user/install/install.html#Static_mod_perl I just think both are fine. For me I use dynamic install most time. On Sat, Jul 19, 2008 at 5:42 AM, Mario

Re: framework for modperl applications

2008-07-17 Thread Jeff Nokes
I like Mason a lot (HTML::Mason). We use Mason mostly for it's component execution chain, attributes, subexec, and a few other features. Also, we don't use Mason's template features at all, we choose to use HTML::Template for that. My $0.02, - Jeff - Original Message ---

Re: nginx load balance

2008-06-30 Thread Jeff Peng
On Mon, Jun 30, 2008 at 11:07 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, Jun 30, 2008 at 11:00 AM, Jeff Peng <[EMAIL PROTECTED]> wrote: >> what's the standard module for storing sessions in a database? > > I recommend CGI::Session. > Yes, current

Re: nginx load balance

2008-06-30 Thread Jeff Peng
y solution to save traffic too >> from the database server (consider a solution based on memcached??)... > > No, don't use memcached for sessions. It's a cache, not a database. > It trades reliability for speed. -- Regards, Jeff. - [EMAIL PROTECTED]

Re: nginx load balance

2008-06-28 Thread Jeff Peng
, it means the first time user's request was outgoing with IP 11.11.11.11, but next time the request maybe will go out with IP 22.22.22.22. How about this case? -- Regards, Jeff. - [EMAIL PROTECTED]

nginx load balance

2008-06-28 Thread Jeff Peng
e the user's session will get lost. Thanks! -- Regards, Jeff. - [EMAIL PROTECTED]

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-09 Thread Jeff
a non-working (pre-rename) 1.99-21 as we were until Aug 07! Thanks again! Jeff

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff
Did you remember to "use Apache2::ServerUtil"? It's probably obvious, but it's easy to miss sometimes - mod_perl doesn't pull in all the APIs automatically, just what you specify (to avoid memory overhead for things you don't use). Yes - I have already used Apache2::ServerUtil - other funcs ar

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff Armstrong
authentication - e.g. the stuff that appears in %ENV like: SSL_CLIENT_S_DN_CN SSL_CLIENT_S_DN_Email SSL_CLIENT_S_DN Am very happy to be redirected to updated / accurate info, though I have read the relevant sections in the docs and horsey book that I could find. Regards & thanks, Jeff

undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff Armstrong
ver_root Debian stable (etch) Apache/2.2.3 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 Many thanks, Jeff

Re: share objects

2008-04-03 Thread Jeff Pang
On Thu, Apr 3, 2008 at 11:32 PM, Felipe de Jesús Molina Bravo <[EMAIL PROTECTED]> wrote: > hi > > I have installed static mp2 with apache 2.0.63 (forker). I am using perl > bind (Sleepycat::DBXML) from dbxml; then I create an object (reference to > Sleepycat::DBXML) in startup.pl because i want t

Re: troubleshooting

2008-03-17 Thread Jeff Armstrong
Dp, Make sure you are using etch or later: dpkg -l libapache2-mod-perl2 should list the installed version as 2.0.2-2.4 The sarge libapache2-mod-perl2 versions (1.99.xxx) were not sane. Regards Jeff Original Message Subject: Re:troubleshooting From: Beginner <[EM

Re: get UserAgent

2008-01-21 Thread Jeff Pang
yup,thanks for the reminding. I checked the doc, for mp1 it's $r->header_in(); for mp2 it's $r->headers_in(). -Original Message- >From: Foo JH <[EMAIL PROTECTED]> >Sent: Jan 21, 2008 3:52 PM >To: Jeff Pang <[EMAIL PROTECTED]> >Cc: modperl-li

get UserAgent

2008-01-20 Thread Jeff Pang
Hello, what are the methods to get UserAgent setting in both mp1 and mp2? I tried search,but got no results. Thanks! Regards, Jeff Pang

Re: restrict virtual hosts programs

2008-01-11 Thread Jeff Pang
-Original Message- >From: Roberto C. Sánchez <[EMAIL PROTECTED]> > >I prefer to run multiple httpd processes on high numbered ports (one for >each site), then have the main httpd on port 80 do proxypass >proxypassrever and name-based vhosting. Then you can also customize >each httpd to o

restrict virtual hosts programs

2008-01-11 Thread Jeff Pang
Hello, I met a strange requirement that, given Apache has two virtual hosts, vhA and vhB, vhA's document root is: /path/a/; vhB's document root is: /path/b/. vhA's programs are running under /path/a/cgi-bin, but actually, the programs of vhA can access vhB's directory (ie,they can open and writ

Re: help about Apache::Scoreboard

2007-12-14 Thread Jeff Pang
2007/12/14, Malcolm <[EMAIL PROTECTED]>: > On Thursday 13 December 2007 10:00:30 am Jeff Pang wrote: > > > right now I got these exceptions in error_log: > > > > [Thu Dec 13 21:53:49 2007] [notice] child pid 4660 exit signal > > Segmentation fault (11) > &

Re: help about Apache::Scoreboard

2007-12-13 Thread Jeff Pang
2007/12/13, Malcolm <[EMAIL PROTECTED]>: > > Just to confirm, you do have a "use Apache::Scoreboard" in there somewhere? > surely I used it. right now I got these exceptions in error_log: [Thu Dec 13 21:53:49 2007] [notice] child pid 4660 exit signal Segmentation fault (11) [Thu Dec 13 21:53:49

help about Apache::Scoreboard

2007-12-12 Thread Jeff Pang
When added these code in my handler: my $r = shift; # We decline to handle subrequests: otherwise, a few lines down we # could get into an infinite loop. return DECLINED unless $r->is_initial_req; # # for limit-ip-conn # my $ip_count = 0; my $limit = $r->dir_config('MaxC

Re: Apache::Scoreboard for mp1

2007-12-12 Thread Jeff Pang
Thank you all guys. At first I used mod_limitipconn for limiting ip concurrent connections. But I found it got conflict with my mp handler (the PerlAccessHandler one). So I checked its source (it came with a perl version), and found it's easy to be integrated into my handler.And it used Apache::Sc

  1   2   3   >