mod-perl2 Questions
1
Solved
I have written a CGI program and I send a status error with the HTTP header to the client. but when I tried to use mod_perl it only responds with 200 ok status. How can I send a custom status code?...
1
Solved
I'm writing unit tests around some old code, and find the need to write a mock around Apache2::Request's read() method
my $r = Apache2::Request->new(...);
$r->read(my $buf, $len);
Is ther...
1
I'm trying to find out if there's a way to complete a response under mod_perl 2 without returning to the main handler. Haven't been able to find a method for that in the docs so far. The following ...
4
Solved
We are currently using 5.6 version of Perl in our organisation, along with MySQL and Apache, but now the client wants to upgrade Perl to v5.24.
What are all the major changes and key points that mu...
Daunt asked 12/8, 2016 at 8:56
2
When I'm running Devel::Cover with ModPerl::Registry, I get no coverage info except for BEGIN blocks. When I'm running the same script with Devel::Cover from command line or as a CGI, everything wo...
Kurtis asked 8/4, 2010 at 9:32
1
Solved
It's been a long while since mod_perl was really updated and seems like its development stoped at Apache 2.2. I've been waiting for it to become available for Apache 2.4 for now a very long while, ...
4
I have a module that uses IPC::Open3 (or IPC::Open2, both exhibit this problem) to call an external binary (bogofilter in this case) and feed it some input via the child-input filehandle, then read...
1
Solved
Important update: the problem is nothing to do with Apache or mod_perl.
The easiest demonstration:
> perl -le 'use PerlIO::via::QuotedPrint; binmode(\*STDERR, ":via(PerlIO::via::QuotedPrint):...
Lexicology asked 30/8, 2013 at 12:59
3
Solved
I am having an infuriating time trying to get an install of apache with perl. I am following the instructions on the mod_perl site located here: http://perl.apache.org/docs/2.0/user/install/install...
2
I've been using apache mod_cgi during some years. Now I am moving to mod_perl and I have found some problems, specially with subroutines. Until now I was never using my, our nor local; and the CGI ...
1
Solved
I am moving from Apache 1.3 to Apache 2.063 and am having trouble getting Apache::VMonitor working.
I tried a setup like this, similar to how I had it setup in my old Apache:
<Perl>
use ...
3
Solved
I have been trying to decide if my web project is a candidate for implementation using PSGI, but I don't really see what good it would do for my application at this stage.
I don't really understan...
2
Does anyone know how to access/modify the POST request data using mod_perl2.
IN GET method one can get/set the request QUERY string:
$args = $r->args();
$prev_args = $r->args($new_args);
...
8
Solved
Hi I'm looking for a Perl RESTful framework that have to :
work under apache2/mod_perl2
be simple
be elegant
be light
be flexible
Am I just dreaming or can I avoid the 'Roll our own' appr...
1
Solved
Unfortunately, Devel::Cover does not yet work with threads.
It doesn't work with prefork either.
Being use'd in startup.pl, Devel::Cover issues
Not a CODE reference.
END failed--call queue abort...
Profant asked 16/2, 2010 at 23:12
1
Solved
The mod_perl2 and Perl 5.10 two are playing nicely together, but I can't seem to find any positive information about Devel::Cover working with mod_perl2 under Win32. I'm currently using ActiveState...
Snowclad asked 2/12, 2008 at 19:16
3
Solved
I'm having trouble forking a long-running process from some code running under mod_perl2.
Everything works for the most part, but it seems that the forked process is holding open handles to Apach...
1
© 2022 - 2024 — McMap. All rights reserved.