Hello all,
I wrote a mod_perl module managing FORM authentication (and a lot of other
things).
This module had to run on a platform (router) with a lot of memory/CPU.
These last days, our marketing team changed the platform definition (few
memory, cheap CPU)
In other words, apache/mod_perl/my
Any ideas ?
Gaetan
2008/10/7 titetluc titetluc <[EMAIL PROTECTED]>
> Hello all,
>
> I am developing a new module which defines 2 new directives (TestDirective1
> and TestDirective2). These directives are usable in a container (Location,
> Directory, ...).
> The fo
Hello all,
I am developing a new module which defines 2 new directives (TestDirective1
and TestDirective2). These directives are usable in a container (Location,
Directory, ...).
The following code defines the directives :
=BEGIN CODE=
package TestDirective
Does anyone has additional documentation on Apache2::SubRequest::run and
Apache2::SubRequest::status returned values ?
Gaetan
2008/9/22 titetluc titetluc <[EMAIL PROTECTED]>
> 2008/9/19 Torsten Foertsch <[EMAIL PROTECTED]>
>
>> On Fri 19 Sep 2008, titetluc titetluc
2008/9/19 Torsten Foertsch <[EMAIL PROTECTED]>
> On Fri 19 Sep 2008, titetluc titetluc wrote:
> > > Does your mod_perl one return Apache2::Const::REDIRECT at the end?
> >
> > No, the module returns Apache2::Const::MOVED_TEMPORARILY, setting the
> > Location
2008/9/18 Perrin Harkins <[EMAIL PROTECTED]>
> On Thu, Sep 18, 2008 at 10:31 AM, titetluc titetluc <[EMAIL PROTECTED]>
> wrote:
> > I have 2 URIs returning HTTP_MOVED_TEMPORARILY
> > The first one, /test_mod_perl is written using mod_perl
> > The second one
Hello all,
I have 2 URIs returning HTTP_MOVED_TEMPORARILY
The first one, /test_mod_perl is written using mod_perl
The second one, /test_mod_cgi is written using CGI
I call each of these URIs using a Apache2::SubRequest object
my $subr1 = $r->lookup_uri('/test_mod_perl');
my $rc1 = $subr1->run();
Hello all,
I am working in a mod_perl2 environment.
I would like to use an equivalent of Apache::FakeRequest.
Where can I find such a module ?
Thanks
André, Torsten
Thank you for your answer (sorry for the delay)
No, Andre, your are not impertinent. I thought I had a problem related to
the request scheme, but in fact, my httpd configuration was wrong !!!
2008/7/1 Torsten Foertsch <[EMAIL PROTECTED]>:
> On Tue 01 Jul 2008, titetluc
Hello all,
I am writing an handler generating sub-requests by using the lookup_uri and
run (Apache2::SubRequest) methods.
My question is : is it technically possible to generate HTTPS sub-request (I
observed that sub-requests were using HTTP) using the mod_perl API ?
If yes, which API do I have t
Less than half an hour to have an answer
And the code is correctly running (my work now is to understand this cryptic
code ;-))
Thanks a lot
2008/7/1 Torsten Foertsch <[EMAIL PROTECTED]>:
> On Tue 01 Jul 2008, titetluc titetluc wrote:
> > I am facing a problem: I would l
Hello all,
I am facing a problem: I would like to call sub-requests, but the content of
these sub-requests should not 'pollute' the main request.
Some times ago, Torsten Foertsch sent the same question on the mod_perl
mailing list (see http://marc.info/?l=apache-modperl&m=111720092815754&w=2)
Th
Torsten,
I created a bug. Bug number is
45297<https://issues.apache.org/bugzilla/show_bug.cgi?id=45297>
Thank you very much for your help
2008/6/27, Torsten Foertsch <[EMAIL PROTECTED]>:
>
> On Fri 27 Jun 2008, titetluc titetluc wrote:
> > Would it be rather a wrong
2008/6/27, Rolf Schaufelberger <[EMAIL PROTECTED]>:
>
> Am Donnerstag, 26. Juni 2008 16:36:49 schrieb titetluc titetluc:
>
> > > > sub set_user {
> > > > my ($self, $r) = @_;
>
>
>
> Shouldn't that be
>
> sub set_user :meth
2008/6/26, Torsten Foertsch <[EMAIL PROTECTED]>:
>
> On Thu 26 Jun 2008, titetluc titetluc wrote:
> > In PerlResponseHandler, $r->main and $r->prev are undefined. I can not
> > understand why $r->main AND $r->prev are not defined (intuitively,
> $r->prev
2008/6/26 Torsten Foertsch <[EMAIL PROTECTED]>:
> On Wed 25 Jun 2008, titetluc titetluc wrote:
> > PerlModule Test
> >
> > Require valid-user
> > AuthType basic
> > AuthName test_index
> > SetHandler perl-script
> >
> &g
2008/6/25 titetluc titetluc <[EMAIL PROTECTED]>:
> Hello all
>
> I am writing a Perl module to authenticate users (using mod_perl2 and httpd
> 2.2.6.
> I would like to display the user name (r->user) when accessing a directory
> (/test_index/index.html)
>
Hello all
I am writing a Perl module to authenticate users (using mod_perl2 and httpd
2.2.6.
I would like to display the user name (r->user) when accessing a directory
(/test_index/index.html)
I have the following httpd configuration
DirectoryIndex index.html
Options +indexes
PerlModu
re the result to $OKgroups.
> But that would be inefficient.
>
> Since in (a) you are already accessing some information about the user (to
> verify his userid), I would at the same time collect information about which
> groups he belongs to, and save that somewhere in the Request obj
Hello all,
I am writing a mod_perl authentication module (My::Auth).
This module sets the user using the Apache2::RequestRec::user method.
package My::Auth;
sub {
$r->user('getting the user in my module internal structure');
return OK;
}
In the Apache configuration file, I can use the c
2008/6/3, Perrin Harkins <[EMAIL PROTECTED]>:
>
> On Tue, Jun 3, 2008 at 4:51 AM, titetluc titetluc <[EMAIL PROTECTED]>
> wrote:
> > The symptoms: the debugger is correcly called but does not dipslay the
> > source script.
Your guess is correct !!! I called Apa
Hello all,
I am trying to use the perl debugger (using Apache mod_perl-2.0.2-6.3.el5
and httpd httpd-2.2.3-11.el).
I followed the instructions in
http://www.perl.com/pub/a/2006/02/09/debug_mod_perl.html and
http://perl.apache.org/docs/1.0/guide/debug.html but the debugger does not
run correctly.
It works !
Thanks a lot.
One additionnal question: does the hook ordering work (according to the
mod_perl documentation, it does not !) ?
Gaetan
2008/4/29, Philippe M. Chiasson <[EMAIL PROTECTED]>:
>
> titetluc titetluc wrote:
>
> > Hello,
> >
> > I am writing
Hello,
I am writing a new mod_perl Apache (mod_perl2) to manage session tracking
and SSO
This module defines a new Apache directive (MyNewDirective), which is usable
in a , block.
For example
Set-Handler perl-script
MyNewDirective a_test arg1 arg2
PerlResponseHandler ResponseHandler
Hello all,
I would like to use attributes (Attribute::Handlers) in a mod_perl module.
I defined my attribute:
use Attribute::Handlers;
sub Catch_error ATTR(CODE, BEGIN) { ... }
My module uses this attribute:
sub foo :Catch_error{
}
But this does not work.
I searched in the mod_perl mailing l
Hello all,
I would like to use attributes (Attribute::Handlers) in a mod_perl module.
I defined my attribute:
use Attribute::Handlers;
sub Catch_error ATTR(CODE, BEGIN) { ... }
My module uses this attribute:
sub foo :Catch_error{
}
But this does not work.
I searched in the mod_perl mailing l
2008/2/13, Perrin Harkins <[EMAIL PROTECTED]>:
>
> On Feb 13, 2008 2:03 AM, titetluc titetluc <[EMAIL PROTECTED]> wrote:
> > By pooling, I mean the fact that expired sessionS have to be REGULARLY
> purge
> > (in opposed to a callback mechanism (IMHO, the best so
2008/2/11, Perrin Harkins <[EMAIL PROTECTED]>:
>
> On Feb 11, 2008 11:10 AM, titetluc titetluc <[EMAIL PROTECTED]> wrote:
> > From your previous answers, I conclude that there is no way to suppress
> a
> > session automagically by using the mod_perl API (unless usi
2008/2/8, Jonathan Vanasco <[EMAIL PROTECTED]>:
>
>
> On Feb 7, 2008, at 2:41 PM, Perrin Harkins wrote:
>
> > Sure, it's a building block. You build the expiration part on top of
> > it. Either you use a timestamp column in your database or you update
> > a timestamp in the session data. Then yo
Hello all,
2008/2/6, titetluc titetluc <[EMAIL PROTECTED]>:
>
> Oups
> I answered directly to Torsten by error
> Here is my answer and the reply
>
> 2008/2/6, Torsten Foertsch <[EMAIL PROTECTED]>:
> >
> > On Wed 06 Feb 2008, titetluc titetluc wrot
Oups
I answered directly to Torsten by error
Here is my answer and the reply
2008/2/6, Torsten Foertsch <[EMAIL PROTECTED]>:
>
> On Wed 06 Feb 2008, titetluc titetluc wrote:
> > The module I am developing has to delete the cookie if it is not
> refreshed
> > regularly.
Hello mod_perl users,
I am developing a mod_perl module (MyModule) to manage
sessions/authentication.
This module:
- uses Apache::Session to store session-related information
- is cookie-based
- manages session inactivity
This module could be used in the following example.
PerlAu
Thank you for your answer Rafael
My comments are below
2008/1/29, Rafael Caceres <[EMAIL PROTECTED]>:
>
> Gaetan:
>
> On Tue, 2008-01-29 at 10:51 +0100, titetluc titetluc wrote:
> > Hello all Apache mod_perl2 module experts (I am a newbie with Apache),
> >
> >
Hello all Apache mod_perl2 module experts (I am a newbie with Apache),
Hope I am clear in my explanations (my English is not so good and I had a
lot of problems explaining my needs by mail. I am not sure that everybody
will read entirely this mail ;-)))
The direct question:
Is it possible to:
34 matches
Mail list logo