write handler for apache http request

2011-05-17 Thread marco
Hi all, I want to write an handler in perl to manage the |PerlPostConfigHandler| , but i don't know how to do this. Can someone help me? ||

Re: write handler for apache http request

2011-05-17 Thread marco
Il 17/05/2011 18.37, André Warnier ha scritto: marco wrote: Hi all, I want to write an handler in perl to manage the |PerlPostConfigHandler| <http://perl.apache.org/docs/2.0/user/handlers/server.html#toc_C_PerlPostConfigHandler_>, but i don't know how to do this. Can someone he

Install mod perl

2011-05-17 Thread marco
Hi all, I tried to install mod_perl in a dynamic mode in Linux 10.04 but it doesn't work. The installation stops. I typed: $cd mod_perl-2.0.5 I have installed apache from source files(v2.2.18), so the next step i tried is: $perl Makefile.PL EVERYTHING=1 USE_APXS=1 WITH_APXS=/usr/local/apache/b

Re: Install mod perl

2011-05-17 Thread marco
Il 17/05/2011 20.03, Fred Moyer ha scritto: Try running 'perl Makefile.PL MP_APXS=/usr/local/bin/apxs' On Tue, May 17, 2011 at 11:01 AM, marco wrote: Hi all, I tried to install mod_perl in a dynamic mode in Linux 10.04 but it doesn't work. The installation stops. I typed: $cd m

Re: Install mod perl

2011-05-17 Thread marco
Il 17/05/2011 20.03, Fred Moyer ha scritto: Try running 'perl Makefile.PL MP_APXS=/usr/local/bin/apxs' On Tue, May 17, 2011 at 11:01 AM, marco wrote: Hi all, I tried to install mod_perl in a dynamic mode in Linux 10.04 but it doesn't work. The installation stops. I typed: $cd m

Re: Install mod perl

2011-05-17 Thread marco
Il 17/05/2011 20.03, Fred Moyer ha scritto: Try running 'perl Makefile.PL MP_APXS=/usr/local/bin/apxs' On Tue, May 17, 2011 at 11:01 AM, marco wrote: Hi all, I tried to install mod_perl in a dynamic mode in Linux 10.04 but it doesn't work. The installation stops. I typed: $cd m

Re: Install mod perl

2011-05-18 Thread marco
Il 17/05/2011 22.33, André Warnier ha scritto: marco, under which version/distribution of Linux are you doing this ? (the answer I am looking for is something like Debian or Ubuntu or RedHat..) Hi Andrè, i want to install it in a Ubuntu 10.10. I have just installed Apache 2.2.18 and now I

Re: Install mod perl

2011-05-18 Thread marco
Il 17/05/2011 22.33, André Warnier ha scritto: marco, under which version/distribution of Linux are you doing this ? (the answer I am looking for is something like Debian or Ubuntu or RedHat..) The reason I am asking you, is that each of these distributions has a "package" system,

Re: Install mod perl

2011-05-18 Thread marco
Il 18/05/2011 19.22, André Warnier ha scritto: marco wrote: Il 17/05/2011 22.33, André Warnier ha scritto: marco, under which version/distribution of Linux are you doing this ? (the answer I am looking for is something like Debian or Ubuntu or RedHat..) The reason I am asking you, is that

ModPerl handler

2011-05-18 Thread marco
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);

Write PerlPostReadRequestHandler

2011-05-19 Thread marco
Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. here's the simple code (it is only a test): #file:touch.pl #- use strict; use warnings; use Apache::ServerUtil (); use Apache::RequestIO (); my $r = shift; $r->conte

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread marco
Il 19/05/2011 16.32, André Warnier ha scritto: Raf wrote: http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. #file:touch.pl

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread marco
Il 19/05/2011 16.47, marco ha scritto: Il 19/05/2011 16.32, André Warnier ha scritto: Raf wrote: http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle

Measuring response time Apache request

2011-05-24 Thread marco
Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea? Thanks

Re: Measuring response time Apache request

2011-05-24 Thread marco
Il 24/05/2011 17.35, Adam Prime ha scritto: On 11-05-24 11:30 AM, marco wrote: Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea? Thanks I'm pretty sure there are messages buried in the archives

Re: Measuring response time Apache request

2011-05-24 Thread marco
Il 24/05/2011 18.19, Torsten Förtsch ha scritto: On Tuesday, May 24, 2011 17:30:33 marco wrote: I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). PerlPostReadRequestHandler "sub {\ use Time::

Re: Measuring response time Apache request

2011-05-24 Thread marco
Il 24/05/2011 20.11, Torsten Förtsch ha scritto: On Tuesday, May 24, 2011 19:02:50 marco wrote: In httpd.conf file I have: PerlPostReadRequestHandler Dir::touch #this script is well executed PerlResponseHandler Dir::timediff#this handler (below) is not executed

Re: Measuring response time Apache request

2011-05-25 Thread marco
Il 25/05/2011 2.29, Cosimo Streppone ha scritto: On Wed, 25 May 2011 02:20:23 +1000, André Warnier wrote: marco wrote: Il 24/05/2011 17.35, Adam Prime ha scritto: On 11-05-24 11:30 AM, marco wrote: Hi all, I want to get the response time that Apache spends to serve a request (from post

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Masetti Marco
[EMAIL PROTECTED] wrote: I'm getting a new id with every refresh click; so, how am I suppose to know it is the same session? Here's my code: The behaviour is the right one, I'll tell you now why is not what you would expect... The session object is intended to provide persistancy to your applic

apache::DBI handling extended DBI objects...

2003-11-13 Thread Masetti Marco
such mechanisms the object I get back is truly blessed to the right class (Extropia::Core::DataSource::DBI) but still cannot anymore access base class not overloaded methods. No problems using base vanilla DBI objects. What's wrong ? Generally, are there known limitations caching/retr

mod_rewrite is working strangely while using mod_perl

2007-10-05 Thread Marco Bretschneider
ed to report a bug to your list too. Please have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=43514 for more information. Thanks. -- Marco Bretschneider Genslerstraße 38 22307 Hamburg 040/61198860 Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gm

Re: mod_rewrite is working strangely while using mod_perl

2007-10-07 Thread Marco Bretschneider
s, take your same setup, but use > > SetHandler cgi-script > > for your test and see if the problem persists. if mod_cgi does the > right thing then I'll look into it further. it turns out, that we do not have this problem using mod_cgi. So, I guess it's worth to have a closer lo

[mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21 & Perl 5.14.1

2011-09-22 Thread Marco Walther
d_perl 2.0.4 + Perl 5.10.1 successfully before. Any idea?? Thanks, -- Marco 2. Used Components and their Configuration: *** mod_perl version 2.05 *** using /export/home/marcow/src/kenai-packages~subversion/mod_perl/mod_perl-2.0.5/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_A

[mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21 & Perl 5.14.1

2011-09-24 Thread Marco Walther
d_perl 2.0.4 + Perl 5.10.1 successfully before. Any idea?? Thanks, -- Marco 2. Used Components and their Configuration: *** mod_perl version 2.05 *** using /export/home/marcow/src/kenai-packages~subversion/mod_perl/mod_perl-2.0.5/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_A

Re: [mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21 & Perl 5.14.1

2011-09-27 Thread Marco Walther
Perl 5.10.1 & mod_perl 2.0.4 --> Perl 5.14.1 (probably .2) & mod_perl 2.0.5 but so far that does not work:-( Thanks, -- Marco On Wednesday, September 21, 2011 at 7:24 PM, Marco Walther wrote: -8<-- Start Bug Report 8<-- 1. Problem Des

Re: [mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21 & Perl 5.14.1

2011-09-28 Thread Marco Walther
nough:-( The defines still do not make it to the src/modules/perl/Makefile:-( But after changing that Makefile by hand and rebuilding, things seem to be working fine. Thanks, -- Marco Some dbx output - perl 5.10.1 & mod_perl dev from yesterday --

mp 2.0.6-dev & Perl 5.14.2: Does it fail to overwrite exit() as expected??

2011-10-18 Thread Marco Walther
Any idea?? Thanks, -- Marco

Re: mod_perl2 and Perl 5.14 with uselargefiles on 32-bit architectures

2011-10-22 Thread Marco Walther
On 10/22/2011 11:08 AM, Niko Tyni wrote: On Wed, Sep 28, 2011 at 02:22:49PM -0700, Marco Walther wrote: OK, I think I found one problem. The following two defines don't make it from the Perl make to the CCFLAGS for the mod_perl:-( `-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'

No dev snapshot's any more??

2012-02-20 Thread Marco Walther
place somewhere or did that service cease to exist? Thanks, -- Marco

[mp2] help: 'make install' failed]

2005-11-08 Thread Gian Marco Fenu
: /usr/include/httpd/modperl_xs_util.h: Numerical result out of range cp: /usr/include/httpd/modperl_apr_perlio.h: Numerical result out of range make: *** [modperl_xs_h_install] Error 255 Any help will be appreciated. Thanks, Best Regards Gian Marco Fenu

[mp2] help: 'make install' failed

2005-11-08 Thread Gian Marco Fenu
: /usr/include/httpd/modperl_xs_util.h: Numerical result out of range cp: /usr/include/httpd/modperl_apr_perlio.h: Numerical result out of range make: *** [modperl_xs_h_install] Error 255 Any help will be appreciated. Thanks, Best Regards Gian Marco Fenu