Re: Custom INC per-directory

2009-10-21 Thread Rolf Schaufelberger
+Parents just works fine with different lib direcories. Following the mod-perl performance guide it is recommended to split your app to frontend an backend apache and so you can have as many different vhosts in the backgroud as you need. Why reinvent the wheel ? Rolf Schaufelberger

Server hangs after 502 request

2009-10-24 Thread Rolf Schaufelberger
NET CLR 3.5.30729; .NET CLR 3.0.30618)" It always has googleads as referer with a very long refer string and what das the 502 status mean? Does anybody have some idea what is happening ? Can I simulate this request with LWP ? Rolf Schaufelberger

Re: Server hangs after 502 request

2009-10-25 Thread Rolf Schaufelberger
Am 24.10.2009 um 12:13 schrieb André Warnier: Rolf Schaufelberger wrote: It always has googleads as referer with a very long refer string and what das the 502 status mean? http://lmgtfy.com?q=http+status+502 Ok, I can read what's written there, but what does it mean ? I still ha

Re: Server hangs after 502 request

2009-10-25 Thread Rolf Schaufelberger
Am 25.10.2009 um 19:36 schrieb André Warnier: Rolf Schaufelberger wrote: Am 24.10.2009 um 12:13 schrieb André Warnier: Rolf Schaufelberger wrote: It always has googleads as referer with a very long refer string and what das the 502 status mean? http://lmgtfy.com?q=http+status+502 Ok, I

Re: Server hangs after 502 request

2009-10-26 Thread Rolf Schaufelberger
Hi, Tortsen, Am 26.10.2009 um 12:12 schrieb Torsten Foertsch: On Sat 24 Oct 2009, Rolf Schaufelberger wrote: Starting some weeks ago the server sometimes hangs with an out of memory problem. Assuming you are running on linux the following sysctls may help to find the culprit

Re: Killing oversized Perl processes

2010-03-12 Thread Rolf Schaufelberger
: how can one kill an oversized process and provide > feedback to the user at the browser? > > One alternative seems to be to use the special variable $^M (see the perlvar > manpage for more details) as recommended by the modperlbook. How does one > determine whether -DP

Internal apreq error

2010-12-03 Thread Rolf Schaufelberger
apreq is patched to allow more that that (MAX set to 1000MB). Regards Rolf Schaufelberger

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

2011-06-20 Thread Rolf Schaufelberger
ld found a PSGI based solution which allows something like this this would be an argument for me to switch! Rolf Schaufelberger

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

2011-06-21 Thread Rolf Schaufelberger
Am 21.06.2011 um 18:12 schrieb Perrin Harkins: > On Tue, Jun 21, 2011 at 2:25 AM, Rolf Schaufelberger wrote: >> We are using Mason 1.x, a (little) modified version of MasonX::WebApp > > Us too! Glad to know someone else is using it. Same to me, didn't hear from somebody

Re: Running multiple copies of same site in ModPerl

2011-11-30 Thread Rolf Schaufelberger
't need another apache instance (but you need a lot of RAM ). This creates an own interpreter. But I'm not sure if it can be applied on a level or at least on Rolf Schaufelberger

Re: Singleton Persistence

2014-02-27 Thread Rolf Schaufelberger
perl interpreters are recycled. Is this possible and, if > yes, how do I prevent it? > > Cheers! > John Rolf Schaufelberger

Compile mod_perl on ubuntu

2014-07-07 Thread Rolf Schaufelberger
Hi, i want compile mod_perl 2.0.8 on a ubnunt 12.04 LTS system. I have a own perl 5.14.2 installation in /opt So , calling perl Makefile.PL MP_APXS=/usr/bin/apxs2 give some warnings Note (probably harmless): No library found for -lnsl Note (probably harmless): No library found for -ldl Note

Error linking mod_perl

2016-01-18 Thread Rolf Schaufelberger
Hi, I have a ubuntu-14.04 system with apache2.4 installed via apt. uname -a Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Then I have perl-5.22.1 installed from source with ./Configure -des -Dprefix=/opt/perl -Duseithreads

Segfaults with File::LibMagic

2016-10-02 Thread Rolf Schaufelberger
el , and this uses File::LibMagic. when I comment the "use Courriel::Builder " line in my code apache starts and everything (besides sending mail ) seems to work fine. Any ideas what goes wrong and how I can fix that ? Rolf Schaufelberger

mod_perl developer wanted

2017-09-14 Thread Rolf Schaufelberger
us.de, tell me your rates and what other informations you need. Thanks Dipl. Ing. Rolf Schaufelberger plusW GmbH Hauffstr. 28/1 73614 Schorndorf T +49 (0)7181 4747305 F +49 (0)7181 4745344 r...@plusw.de www.plusw.de

Re: mod_perl developer wanted

2017-09-25 Thread Rolf Schaufelberger
17 um 07:30 schrieb Jie Gao : > > * Thorsten Schöning mailto:tschoen...@am-soft.de>> > 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 >&

Re: suggestions for perl as web development language

2020-08-03 Thread Rolf Schaufelberger
l give up perl/modperl as web development > language, and choose the alternatives instead? > > Thanks & Regards > Rolf Schaufelberger

register_cleanup

2007-12-12 Thread Rolf Schaufelberger
the pool goes out of scope", which should be after the request object gets detroyed. Right ? So what am I doing wrong ? -- Rolf Schaufelberger www.plusw.de

Re: register_cleanup

2007-12-13 Thread Rolf Schaufelberger
On Wednesday 12 December 2007 23:44:40 Perrin Harkins wrote: > On Dec 12, 2007 2:05 PM, Rolf Schaufelberger <[EMAIL PROTECTED]> wrote: > > my $r = $self->{__apache_req__}; > > Yikes, be careful of storing Apache2::RequestRec objects. Terrible > things will happen if y

Re: [MP2] [QUESTION] authentication modules (reuse of mod_auth_basic, mod_auth_digest, mod_auth_ntlm) and cookies

2008-01-30 Thread Rolf Schaufelberger
such a solution is that I > can reuse the existing Apache modules (basic, ntlm, digest, ...), > concentrating on my session tracking module. (I read the mod_perl2 > documentation and mod_perl2 offers only Basic and Digest authentication. It > does not offer NTLM authentication). Again, I think the solution to your problems is in writing a customized handler for the authentification phase. -- Regards Rolf Schaufelberger

Re: graphics in perl

2008-06-23 Thread Rolf Schaufelberger
le.com/apis/chart/) I've once used another cart libray offering API in different languages see : http://www.advsofteng.com/product.html And then there is GD::Graph, but I have no experience with this. For basic graphic functions look at Imager (imager.perl.org) -- Regards Rolf Schaufelberger

Re: [MP2]mod_perl and index.html

2008-06-27 Thread Rolf Schaufelberger
Am Donnerstag, 26. Juni 2008 16:36:49 schrieb titetluc titetluc: > > > sub set_user { > > >     my ($self, $r) = @_; Shouldn't that be sub set_user :method { my ($self, $r) = @_; When you use $r as second argument ? -- Rolf Schaufelberger

Re: framework for modperl applications

2008-07-17 Thread Rolf Schaufelberger
e1 to apache2 recently with not too much trouble and I'm quite happy with this! For performance issues I'm running a lightweight frontend apche and a mod_perl-apache as reverse proxy for the backend (as described in mod_perl book). Rolf Schaufelberger www.mypxler.com

Problem setting POST_MAX

2008-09-17 Thread Rolf Schaufelberger
Hi, when I try to set POST_MAX to a higher value I get Conflicting information. I've a mod_perl / Mason app with an own hander, starting with (mod_perl2) sub handler () :method { my $class = shift; my $r = shift; my ($app, $return); my $args = $ah->request_args( Apache

Re: Problem setting POST_MAX

2008-09-17 Thread Rolf Schaufelberger
Am Mittwoch, 17. September 2008 10:46:40 schrieb Ryan Gies: > On Wed, 17 Sep 2008 10:37:07 +0200 > > Rolf wrote: > > when I try to set POST_MAX to a higher value I get > > > > Conflicting information. > > > > I've also tried to set it via read_limit() with the same result. > > What's wrong ? > > T

Re: Problem setting POST_MAX

2008-09-17 Thread Rolf Schaufelberger
e a limit lower than 64M, but not set it to a higher value. > Here is the link to the documentation: > > http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__request.html >#new > > HTH, > > Lee > > > > - Original Message > From: Rolf Sc

Re: Fwd: MPM-safe mp2 Singleton Pattern?

2008-11-07 Thread Rolf Schaufelberger
d not much time and my app had to become ready. The failure showed in a "hanging" request. The reason why I use Class::Singelton (and not $r->pool or $r->pnotes) is just, that I can reuse my perl modules in all apps running as stand alone scripts. So for instance , I put my DBIx;:Class schema object in there, the logging handler etc. -- Rolf Schaufelberger

Re: mod_perl survey results

2008-11-10 Thread Rolf Schaufelberger
. > - not very many people are using the mod_perl2 filter api. > - there is quite a bit of interest in a mod_perl Workshop, but location > would be a key factor for a lot of people > - the documentation could use some work. Specifically more tutorial / > intro kind of stuff. > > Adam -- Rolf Schaufelberger

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

2009-03-27 Thread Rolf Schaufelberger
bapp), split into 180 frontend apache an 20 mod_perl backend apache , server load was below 1, on a 1 GB hardware. And I had no need to enable any of mason's caching or performance feature 9staice source etc). Rolf Schaufelberger