mod_perl2 timely catching SIGPIPE

2004-06-09 Thread Jim Albert
offer any suggestions as to how to get my signal handler, PIPE, executed as soon as the SIGPIPE is generated? Thanks Jim Albert -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: mod_perl2 timely catching SIGPIPE

2004-06-10 Thread Jim Albert
Stas Bekman wrote: Jim Albert wrote: I'm trying to determine how to have my mod_perl apache server properly catch a SIGPIPE signal in a timely manner. My environment is Apache/2.0.49 (Fedora) and mod_perl 2. Jim, please *always* report bugs and problems following these guidelines!

perl 5.8 safe signals and broken pipes in apache

2004-06-15 Thread Jim Albert
::SIG2 where Apache::SIG2.pm is defined in this example as: -- package Apache::SIG2; # This package adapted by Jim Albert from the original mod_perl1 # Apache::SIG.pm by Doug MacEachern and Doug Bagley # This PerlHandler can be used to prevent httpd children from killing # off non-mod-perled

Re: perl 5.8 safe signals and broken pipes in apache

2004-06-15 Thread Jim Albert
} sub sigCHLD_handler { while (my $reaperpid = waitpid(-1,WNOHANG)>0) { } } ## do your while (1) and fork etc... I wish I could paste in my whole daemon thing, but it is too far along with to many things specific to my bosses application.. Thanks, Eric At 02:55

Re: perl 5.8 safe signals and broken pipes in apache

2004-06-30 Thread Jim Albert
blacklist. relay=hermes.apache.org [209.237.227.199] Rejected from 209.237.227.199 - see http://spews.org/bounce.html I understand spews is one of the more aggressive blacklists, but perhaps one the list admins should look into getting this IP out of spews? -- Jim Albert -- Report problems: http

Re: perl 5.8 safe signals and broken pipes in apache

2004-06-30 Thread Jim Albert
Stas Bekman wrote: Jim Albert wrote: Stas Bekman wrote: Eric Frazier wrote: Jim, Eric, so can you please put this thread together into one doc piece that can be added to the docs? I had just noticed that I received none of the mod_perl mailings in the past 10 days or so. Looks like the

Issues with Environment Variables

2005-01-11 Thread Jim Albert
appropriate environment variables and open a pipe to my standard CGI. That might work, but it seems messy. -- Jim Albert

Re: Issues with Environment Variables

2005-01-11 Thread Jim Albert
Frank Wiles wrote: On Tue, 11 Jan 2005 14:02:00 -0500 Jim Albert <[EMAIL PROTECTED]> wrote: Under mod_perl1 I had a mod_perled program that opened a pipe to a standard CGI and recorded its output. I did this in my mod_perl program by setting the following ENV vars: $ENV{"QUERY_ST

Apache2 namespace

2005-07-02 Thread Jim Albert
hould eventually expect all modules to move from Apache:: to Apache2:: or what the criteria might be for doing so. For example, it looks to me from cpan like Apache::Session still exists in Apache:: Thanks. -- Jim Albert

Re: Apache2 namespace

2005-07-03 Thread Jim Albert
Philip M. Gollucci wrote: Jim Albert wrote: Can someone point me to a URL that describes the purpose of the Apache2 namespace? I don't believe one exists (yet) ... possibly a good idea for the perl.apache.org site? The general idea as I've got it is: 1. Apache::* Mo

Re: Apache2 namespace

2005-07-05 Thread Jim Albert
Philip M. Gollucci wrote: Philip M. Gollucci wrote: Jim Albert wrote: For example, one piece of my code has use Apache::Const but I had to change that to use Apache2::Const on the server running the lastest mod_perl. Can you give me the logic to handle that properly in a single code

Re: Apache2 namespace

2005-07-05 Thread Jim Albert
e base (my code) in terms of whether to include modules from the Apache:: or Apache2:: namespace. Perhaps the exsitence of and the particular value of $ENV{MOD_PERL_API_VERSION} might be better suited. -- Jim Albert

ModPerl::PerlRun CGI.pm SSI

2005-10-04 Thread Jim Albert
changed from another version of CGI.pm on a different system where this works fine. -- Jim Albert

Re: ModPerl::PerlRun CGI.pm SSI

2005-10-04 Thread Jim Albert
is to add the following to all my mod_perled scripts that use CGI.pm: CGI::initialize_globals(); I hope you can help with this. Jim Albert wrote: I'm trying to debug a strange situation with the following environment: Apache 2.0.54 mod_perl 2.0.1 perl 5.8.6 CGI.pm 3.10 Linux 2.6.12-1.1447_

Re: ModPerl::PerlRun CGI.pm SSI

2005-10-06 Thread Jim Albert
like retrieving input from QUERY_STRING and working with cookies, please point me to what you use for this. Thanks. Jim Albert wrote: I think I may now have a better understanding of this and that the problem lies in CGI.pm. I've emailed the following to Lincoln Stein explaining w

Re: ModPerl::PerlRun CGI.pm SSI

2005-10-06 Thread Jim Albert
Michael Peters wrote: Jim Albert wrote: Lack of response on this tells me: 1. Nobody is using ModPerl::PerlRun any longer to run their scripts under mod_perl. I doubt it. From the docs: This module is meant for "Dirty" CGI Perl scripts and The Apache::Registry handl

Re: ModPerl::PerlRun CGI.pm SSI

2005-10-06 Thread Jim Albert
Perrin Harkins wrote: On Thu, 2005-10-06 at 11:53 -0400, Jim Albert wrote: Besides the fact that if I choose the scripts to run mod_cgi perhaps in a non mod_perl environment, then they are all set to go. This is true with Registry scripts as well. I thought this was safer than calling

Re: graphics in perl

2008-06-23 Thread Jim Albert
specific keywords, because I don't believe all the graphics modules are in that list. For example, I've used Image::Magick for doing some basic image resizing and conversion, but I don't see Image::Magick in that list. -- Jim Albert

Re: automatically restart httpd

2013-04-23 Thread Jim Albert
On 4/23/2013 11:49 AM, Ryan Perry wrote: I've been plagued by some bug that makes a call to LWP stop working: "Can't connect to 192.168.0.222 (Bad hostname)" I haven't been able to figure out why, but a simple httpd restart fixes it for a day or 2. Since I can't figure out a real fix, I'm wonde

Re: automatically restart httpd

2013-04-23 Thread Jim Albert
On 4/23/2013 1:08 PM, Ryan Perry wrote: I've considered doing it daily via cron, but if there's a way to do when I hit this error I'd prefer that. On Tue, Apr 23, 2013 at 12:02 PM, Jim Albert mailto:j...@netrition.com>> wrote: On 4/23/2013 11:49 AM, Ryan Perry wrot

Re: automatically restart httpd

2013-04-23 Thread Jim Albert
On 4/23/2013 1:36 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 12:23 PM, Jim Albert mailto:j...@netrition.com>> wrote: On 4/23/2013 1:08 PM, Ryan Perry wrote: I've considered doing it daily via cron, but if there's a way to do when I hit this

Re: automatically restart httpd

2013-04-23 Thread Jim Albert
On 4/23/2013 2:33 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 12:47 PM, Jim Albert mailto:j...@netrition.com>> wrote: On 4/23/2013 1:36 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 12:23 PM, Jim Albert mailto:j...@netrition.com> <mailto:j...@netrition.c

Re: automatically restart httpd

2013-04-23 Thread Jim Albert
On 4/23/2013 3:09 PM, Jim Albert wrote: On 4/23/2013 2:33 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 12:47 PM, Jim Albert mailto:j...@netrition.com>> wrote: On 4/23/2013 1:36 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 12:23 PM, Jim Albert mailto:j...@netriti

Re: automatically restart httpd

2013-04-23 Thread Jim Albert
On 4/23/2013 3:27 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 2:09 PM, Jim Albert mailto:j...@netrition.com>> wrote: On 4/23/2013 2:33 PM, Ryan Perry wrote: On Tue, Apr 23, 2013 at 12:47 PM, Jim Albert mailto:j...@netrition.com> <mailto:j...@netrition.c

Re: [DISCUSS] The future of mod_perl

2021-03-17 Thread Jim Albert
Not that I want to be the guy that says it sounds like we'll be pulling the mod_perl plug at any time the right scenario arises, but is it reasonable to have a discussion here on mod_perl alternatives inline with the various means of using mod_perl from the low level means of interfacing with t

Re: [DISCUSS] The future of mod_perl

2021-03-17 Thread Jim Albert
27;s what will happen. Adam On 3/17/2021 9:50 PM, Jim Albert wrote: Not that I want to be the guy that says it sounds like we'll be pulling the mod_perl plug at any time the right scenario arises, but is it reasonable to have a discussion here on mod_perl alternatives inline with the va

mod_perl alternatives

2021-03-17 Thread Jim Albert
Given the recent discussion on the need for mod_perl PMC members and the disclosure that there is no active development on mod_perl this seems like an appropriate time to start a thread on a discussion of mod_perl alternatives inline with the various means of using mod_perl from the low level u

Re: [DISCUSS] The future of mod_perl

2021-03-17 Thread Jim Albert
, I think that it is up to the community if, when, and how that happens. That's what the point of this thread is. If there aren't people that are committed enough to the project for whatever reason to step up and keep it from going to the attic, then that's what will happen. Adam

What would a mod_perl EOL look like?

2021-03-18 Thread Jim Albert
When mod_perl does come to an end what would an End of Life look like? I'm told mod_perl is an Apache Software Foundation project. Do Apache Software Foundation projects have a structured life cycle or do some just suddenly disappear with no warning given various situations that result in the n

Re: What would a mod_perl EOL look like?

2021-03-18 Thread Jim Albert
On 3/18/2021 10:41 AM, Ruben Safir wrote: On Thu, Mar 18, 2021 at 10:37:02AM -0400, Jim Albert wrote: When mod_perl does come to an end what would an End of Life look like? maybe we can focus on keeping it maintained... really. A secure well written project like modperl doesn't nee

Re: What would a mod_perl EOL look like?

2021-03-18 Thread Jim Albert
tic is, and what it would mean to get more context if you're interested in more detail. Adam [1] http://attic.apache.org/ Quoting Jim Albert : When mod_perl does come to an end what would an End of Life look like? I'm told mod_perl is an Apache Software Foundation project. Do Apache So

Re: What would a mod_perl EOL look like?

2021-03-18 Thread Jim Albert
link below and reading about what the attic is, and what it would mean to get more context if you're interested in more detail. Adam [1] http://attic.apache.org/ Quoting Jim Albert : When mod_perl does come to an end what would an End of Life look like? I'm told mod_perl is