Re: How to write a handler

2009-07-31 Thread Adam Prime
Sudheer Puppala wrote: Hi I am java/flex programmer since 1yrs and a little bit of perl. I have a requirement of write a handler at apache http server side using perl. Scenario: 1. My flex application request for a particular file to the apache server. 2. The server upon receiving

Re: How to write a handler

2009-07-31 Thread André Warnier
Adam Prime wrote: Sudheer Puppala wrote: Hi I am java/flex programmer since 1yrs and a little bit of perl. I have a requirement of write a handler at apache http server side using perl. Scenario: 1. My flex application request for a particular file to the apache server. 2. The

make fails at Apache-Reload

2009-07-31 Thread George Karabotsos
Hi guys, I got the trunk version from SVN: svn checkout https://svn.apache.org/repos/asf/perl/modperl/trunk/ mod_perl-trunk I am using Apache 2.2.12. To build mod_perl I did: % perl Makefile.PL MP_APXS=/usr/local/httpd/bin/apxs # Completed successfuly. % make which failed at: ... make[1]:

Re: Apache2::Resource - What happens when the resource limit is consumed by the process

2009-07-31 Thread Perrin Harkins
On Fri, Jul 31, 2009 at 5:31 AM, Shibi NSshibi...@gmail.com wrote: For example I sets the RSS  to 70 M , but due to some bugs one of the process requires 80 M how does the systems handles it ? The process will die. Setting resource limits is meant to be a safety measure to prevent runaway code

mod_perl2.0.4: Apache2::compat errors

2009-07-31 Thread George Karabotsos
Hi guys, I have created this minimal script: #!/usr/bin/env perl use Apache2::compat; and here's what I get: perl -c Tester.pl Undefined subroutine Apache2::ServerUtil::restart_count called at /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi/Apache2/compat.pm line 76. Compilation

Re: mod_perl2.0.4: Apache2::compat errors

2009-07-31 Thread Perrin Harkins
On Fri, Jul 31, 2009 at 1:23 PM, George Karabotsoskara...@gmail.com wrote: I have created this minimal script: #!/usr/bin/env perl use Apache2::compat; and here's what I get: perl -c Tester.pl You can't do that. The mod_perl classes only work when run inside mod_perl. What are you