thanks for letting me know this.
James Smith wrote:
mpm_event like all Apache mpm_s is much better at handling "issues" where nginx
just goes F* and returns nothing. When we have issues we can detect them on apache mpms -
but we often fail to see nginx errors as it sort of just dies!
rors as it sort of just dies!
-Original Message-
From: pengyh
Sent: 09 August 2022 13:04
To: James Smith ; modperl@perl.apache.org
Subject: Re: is mpm_event safe for modperl handler? [EXT]
I think running Ignix as front-end server and mod_perl for backend server is
the more popular choi
I think running Ignix as front-end server and mod_perl for backend
server is the more popular choice.
If you want the speed of mod_event for static content and the power of mod_perl
for dynamic content - the best way is to run a lightweight mod_event apache in
front of a mod_prefork to run
f like SSL etc
is handled on the mod_event instance keeping the mod_worker instance clean..
It also allows you to run two apaches on a single box - a "test" and a "live"
-Original Message-
From: pengyh
Sent: 05 August 2022 02:21
To: modperl@perl.apache.org
Subject: Re:
thanks. that does sound sorry.
No and neither is mod_worker. The only mpm you can safely use is
prefork. This is, in my opinion, mod_perl's fatal flaw which will doom it.
No and neither is mod_worker. The only mpm you can safely use is prefork.
This is, in my opinion, mod_perl's fatal flaw which will doom it.
On Thu, Aug 4, 2022 at 2:27 AM pengyh wrote:
> Hello
>
> yes i know mpm_prefork is pretty good for modperl applications.
> if I run mod
Hello
yes i know mpm_prefork is pretty good for modperl applications.
if I run modperl handler (for example, PerlAccessHandler) under
mpm_event, is it safe for a production environment?
thanks.
Nginx version
higher than 1.0.0.
The original author seems have no interest updating it.
As an alternative, can anyone write a modperl handler for this purpose?
That would be great for mogilefs community.
Thanks.
Le lundi 02 juillet 2012 à 03:50 +0400, rei...@ya.ru a écrit :
> Hello.
Hi,
> So, whats wrong?
>
Dude, a lot of things...
Not sure I can catch them all, but since nobody is tackling it, see some
comments below.
> I've found unexpected behavior of modperl handler.
Le lundi 02 juillet 2012 à 03:50 +0400, rei...@ya.ru a écrit :
> Hello.
Hi,
> So, whats wrong?
>
Dude, a lot of things...
Not sure I can catch them all, but since nobody is tackling it, see some
comments below.
> I've found unexpected behavior of modperl handler.
Hello.
I've found unexpected behavior of modperl handler. If handler return
Apache2::Const::HTTP_OK status all is ok. But other HTTP_*
status code (tested with Apache2::Const::HTTP_NOT_FOUND;
Apache2::Const::HTTP_FORBIDDEN and Apache2::Const::SERVER_ERROR)
invoke handler
14:43:57 -0500
To: Mod_perl users mailto:modperl@perl.apache.org>>
Subject: ModPerl handler
Hi,
I'm writing an handler to execute with mod_perl.
I want to associate an handler of type PerlPostConfigHandler.
I write this code (filename=StartupLog.pm):
#file:Apache/StartupLog.pm
Hi,
I'm writing an handler to execute with mod_perl.
I want to associate an handler of type PerlPostConfigHandler.
I write this code (filename=StartupLog.pm):
#file:Apache/StartupLog.pm
package Apache::StartupLog;
use strict;
use warnings;
use Apache();
use Apache::Constants qw(OK);
[EMAIL PROTECTED] wrote:
I have mod rewrite setup to redirect request that don't an existing
file or directory to the perl handler.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*) /ex_perl_h [L]
but this doesn't work.
Hi all,
I am new to mod_perl and am having a difficult time with rewrites.
Either I am doing it the most wrong way, or it's so easy that I'm over
looking it. I have searched and found nothing that seems to relate to
what I want.
I am working on a perl based wiki, to help me learn more about how p
On Thu, Jan 26, 2006 at 02:15:56PM +0100, Tom Schindl wrote:
[...]
> http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_
>
> is more appropriate for this problem ;-) Just to get that into the archives.
Right, thanks. But with your original pointer it was easy to find out
that. Thank
Tomas Zerolo wrote:
> On Thu, Jan 26, 2006 at 11:27:44AM +0100, Tom Schindl wrote:
> [...]
>
>>In mp2:
>> - use different VHost with different Inc-paths
>>http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlOptions_
>
>
> Wow. My imagination was too small to come up with that. Thanks a
On Thu, Jan 26, 2006 at 11:27:44AM +0100, Tom Schindl wrote:
[...]
> In mp2:
> - use different VHost with different Inc-paths
> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlOptions_
Wow. My imagination was too small to come up with that. Thanks a bucket!
-- tomas
signature.asc
In mp1:
- Apache::VINC
http://perl.apache.org/docs/1.0/guide/modules.html#Apache__PerlVINC___Allows_Module_Versioning_in_Location_blocks_and_Virtual_Hosts
In mp2:
- use different VHost with different Inc-paths
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlOptions_
Tom
Tomas Ze
Hi, list
here's a general question which I'm sure has been addressed before.
I've got a modperl2 handler within a module Foo. This module uses a
whole hierarchy of helpers, like Foo::Bar, and so on (which live in a
corresponding dir structure Foo/Bar and so on).
Now I would like to have several
On Sun, 25 Sep 2005, Ray Licon wrote:
> Date: Sun, 25 Sep 2005 02:52:59 -0700 (PDT)
> From: Ray Licon <[EMAIL PROTECTED]>
> To: modperl@perl.apache.org
> Subject: Setting %ENV from modperl handler
>
> Hello,
> I'm trying to put a value I obtain from a m
I'm using a PerlAccessHandler to protect pages. When
the page is initially accessed, it triggers an
authentication process. The PerlAccessHandler calls a
content handler which gets Database values checks
them, does some cookie stuff and then finally allows
access to the original page.
What I want
On Sun, 25 Sep 2005 13:53:49 -0700 (PDT)
Ray Licon <[EMAIL PROTECTED]> wrote:
> Philip,
>
> I am using the handler directive:
>
> SetHandler perl-script
>
> But, I'm still not able to place a value into cgi from
> my handler that is available to a perl cgi script by
> examining the %ENV conten
Ray Licon wrote:
Philip,
I am using the handler directive:
SetHandler perl-script
But, I'm still not able to place a value into cgi from
my handler that is available to a perl cgi script by
examining the %ENV contents. I'm not even certin which
of the calls I've attempted 'should' work. By ad
ip M. Gollucci" <[EMAIL PROTECTED]> wrote:
> Ray Licon wrote:
> > Hello,
> > I'm trying to put a value I obtain from a modperl
> > handler script into the environmental hash %ENV
> > available in the cgi perl script, eventually
> called
> > via the
Ray Licon wrote:
Hello,
I'm trying to put a value I obtain from a modperl
handler script into the environmental hash %ENV
available in the cgi perl script, eventually called
via the handler.
I've tried calls:
$r->subprocess_env->{'MY_USER'} = 'some_value'
Hello,
I'm trying to put a value I obtain from a modperl
handler script into the environmental hash %ENV
available in the cgi perl script, eventually called
via the handler.
I've tried calls:
$r->subprocess_env->{'MY_USER'} = 'some_value';
$r->err_he
Let's assume that we have these lines in the apache config:
SetHandler modperl
PerlResponseHandler MyApp::Handler
How can MyApp::Handler obtain an information that it is running
within "/my/location"?
Thank you for any help!
Jozef
--
jozef kosoru
ht
On Tue, 1 Mar 2005 15:44:35 +0100, Jozef Kosoru <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Let's assume that we have these lines in the apache config:
>
>
> SetHandler modperl
> PerlResponseHandler MyApp::Handler
>
>
> How can MyApp::Handler obtain
Hello,
Let's assume that we have these lines in the apache config:
SetHandler modperl
PerlResponseHandler MyApp::Handler
How can MyApp::Handler obtain an information that it is running
within "/my/location"?
Thank you for any help!
Jozef
--
j
> One more problem I'm now having with this is in the UserDir. Is there
> any way for me to get the mapping from apache of the real directory that
> /~user/ means?
not really. mod_userdir applies some URI translations that you can't really
see. but they are pretty easy to figure out and emulate
On Thu, 15 Jul 2004 16:26:54 -0600
Rando Christensen <[EMAIL PROTECTED]> wrote:
> Yes, in order to make it work, I ended up making the handler be called
>
> /virtual/indexer, created a /virtual dir, did a global alias of
> /virtual to that dir, and created an empty file named indexer.
> Director
Geoffrey Young wrote:
well, if there are absolutely no real files at all, then I don't think
DirectoryIndex will work - mod_dir only applies DirectoryIndex when
$r->filename ends up being a real directory (a $r->content_type of
DIR_MAGIC_TYPE). but other than that it looks ok :)
so, if that doesn'
Rando Christensen wrote:
> Geoffrey Young wrote:
>
>> see the DirectoryIndex documentation - you can specify a URL as well as
>> individual files, so you can simply point to a mod_perl content
>> handler and
>> leave mod_autoindex/mod_dir to do what they do best.
>>
>> if you use DirectoryIndex
Geoffrey Young wrote:
see the DirectoryIndex documentation - you can specify a URL as well as
individual files, so you can simply point to a mod_perl content handler and
leave mod_autoindex/mod_dir to do what they do best.
if you use DirectoryIndex then just put
DirectoryIndex index.html /yourhan
Rando Christensen wrote:
> Hi, I'd like to have a modperl handler that handles directory indexing
> similar to mod_autoindex, as in fitting the following rule:
>
> if at any time it encounters a directory with no other valid indexing
> method, the modperl handler is cal
Hi, I'd like to have a modperl handler that handles directory indexing
similar to mod_autoindex, as in fitting the following rule:
if at any time it encounters a directory with no other valid indexing
method, the modperl handler is called and will produce output of the
files withi
37 matches
Mail list logo