Cleanuphandler

2007-08-27 Thread Cure
In my mason template I have the following code. $r->set_handlers( PerlCleanupHandler => [ &do_cleanup ]); But for some reason the main script waits for the function do_cleanup to finish. I thought the function would be process in the Cleanup Phase? The borwser will set their until the function

Re: [mp2] porting older mp2 code to 2.0.0 - I'm stuck with params from apreq!

2005-05-22 Thread Cure
Carl Brewer wrote: Carl Brewer wrote: Apache2::RequestUtil->request($r).; If I'd looked in : docs/html/group__apreq__xs__request.html I'd have seen that all I needed to do was to change use Apache::Request; to use Apache2::Request; and my $req = Ap

libapreq2 2.05

2005-04-26 Thread Cure
When I try to install libapreq2-2.05-dev in freebsd, I get the following error --> parser.c:84: error: syntax error before '*' tokenparser.c:84: warning: data definition has no type or storage class*** Error code 1Stop in /usr/home/rack/perl/libapreq2-2.05-dev/library.*** Error code 1 I got

Mod_Perl

2005-04-25 Thread Cure
I wanted to use Apache2 + Mod_Perl2 for our production server but not sure if mod_perl2(mod_perl2-2.0.0r3,1 ) is consider stable . Cure

connections

2005-04-25 Thread Cure
arting apache --> [Mon Apr 25 17:45:50 2005] startup.perl: Apache.pm was not loaded If I put use Apache::compat in the startup, then the error message goes away. Not sure how to solve this issue. Cure

Error

2005-04-25 Thread Cure
cookie = Apache::Cookie->new($r); 9:  my $cookie_id = $cookie->fetch; <-- This use to work in mod_perl1. I'm currently using mod_perl2 and it doesn't work. :( Using apache-2.0.54 + mod_perl2-2.0.0r3,1 Cure

Re: Path issue

2005-04-25 Thread Cure
-8<--- find /usr/lib/perl5 -name 'Apache2*' -exec rm -rf {} \; - ---8<--- Tom Cure schrieb: | I'm currently in the processof porting mod_perl 1.0 code to run under | mod_perl 2.0. | | Alot of my mod_perl libra

Path issue

2005-04-25 Thread Cure
5.8.6/mach /usr/local/lib/perl5/5.8.6 . /usr/local) at (eval 5) line 3.\n I'm currently using apache-2.0.54 + mod_perl2-2.0.0r3,1 Cure

Mod_perl Installation Issue

2005-04-22 Thread Cure
n/perl5.8.6 - found ===> Configuring for mod_perl2-2.0.0r3,1 Reading Makefile.PL args from @ARGV MP_APXS = /usr/local/sbin/apxs MP_INST_APACHE2 = 1 [ error] Unable to determine server version, aborting. [ error] Invalid MP_APXS specified? *** Error code 1 Stop in /usr/ports/www/mod_perl2. Cure

Mod_perl Installation Issues

2005-04-22 Thread Cure
v5.8.6 built for i386-freebsd-64int (with 2 registered patches, see perl -V for more detail) Cure

Re: About putting the blame on other shoulders

2004-12-28 Thread Cure
I might have misunderstood , Sorry. I just love mod_perl so much :) Paul Andreas J Koenig wrote: On Tue, 28 Dec 2004 10:54:27 -0500, Stas Bekman <[EMAIL PROTECTED]> said: > C

Re: About putting the blame on other shoulders

2004-12-28 Thread Cure
Everybody needs to "STEP BACK" and realize how much work and soul Stas has put into mod_perl. He deserves A LOT OF CREDIT. Keep up the Good work Stas. Paul Stas Bekman wrote: Andreas J Koenig wrote: On Tue, 28 Dec 2004 00:09:07 -0500, Stas Bekman <[EMAIL PROTECTED]> said: >> Will it not also

Re: [ANNOUNCE] "Practical mod_perl" book is released under Creative Commons license

2004-12-17 Thread Cure
Practical mod_perl" book <-- GREAT BOOK. I just wanted to say thxs Stas for all your hard work, I really appreciate it. Paul colin_e wrote: Stef1 wrote: Stas, no complaints, I know you put tons of effort in modperl ! Only a hint : the moment you write a book specific on MP2 : I will buy it dir

Re: Apache2+mod_perl2+Mason - limit upload size

2004-11-30 Thread Cure
I would upgrade HTML::Mason. 1.27 October 28, 2004 ENHANCEMENTS Full support for Apache2/mod_perl2. Roman Vašíček wrote: Hi all, I want to limit upload size on my Apache2+Mason powered website depending to user category - eg: guest = 500kB, registered = 2MB, admin = 10 MB. I alre

Re: CGI_GATEWAY - modperl version 2

2004-11-08 Thread Cure
Thxs Stas for the right answer. I thought => I was right sorry :) I never knew that PerlHandler would work in mod_perl 2. Good to know, thxs Stas Bekman wrote: Cure wrote: PerlHandler is a mod_perl 1 directive. PerlResponseHnalder is a mod_perl 2 directive. Both work just fine under

Re: CGI_GATEWAY - modperl version 2

2004-11-07 Thread Cure
PerlHandler is a mod_perl 1 directive. PerlResponseHnalder is a mod_perl 2 directive. replace --> PerlHandler ModPerl::Registry with PerlResponseHandler ModPerl::Registry [EMAIL PROTECTED] wrote: Hi, I have probelms with modperl installation; have read through the manuals and also mailing lists but