Questions tagged [mod-perl-registry]
8 questions
3
votes
3 answers
How to suppress the default mod_perl error page in legacy CGI script using ModPerl::Registry
I have a CGI script in Perl that generates HTTP error pages by itself. I am running it under mod_perl via ModPerl::Registry, using the following Apache2 configuration:
Alias /perl "/var/www/perl"
SetHandler…

Jakub Narębski
- 309,089
- 65
- 217
- 230
3
votes
2 answers
No coverage for runtime with Devel::Cover and ModPerl::Registry
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 works alright (obviously).
How can I make Devel::Cover…

codeholic
- 5,680
- 3
- 23
- 43
3
votes
4 answers
How do I add a script specific lib path in mod_perl?
I'm trying to migrate CGI scripts to mod_perl using ModPerl::Registry.
The scripts use modules that are in the same directory as the script, but since mod_perl current directory is elsewhere, that doesn't work.
I tried using FindBin to add on to the…

Mathieu Longtin
- 15,922
- 6
- 30
- 40
1
vote
1 answer
run lxr perl module as scripts under apache 2.4
I have been trying to get it right for the past couple of days, but could not. I am not a LAMP guy.
I installed Apache 2 from the default Ubuntu repositories. Here is the contents of the /etc/apache2 directory:
/etc/apache2$ ls
apache2.conf …

feeling_lonely
- 6,665
- 4
- 27
- 53
1
vote
1 answer
web service using perl, wsdl and multi-threading does not working
web service using perl, wsdl and multi-threading not working:
Command line execution with threading: works
Soap client call with threading: doesn't work
Soap client call without threading: works
Here i am trying to update thousands of sieve file…

pankaj ghadge
- 845
- 1
- 9
- 18
0
votes
1 answer
CGI script runned with ModPerl::Registry doesn't print result on html page, just download it
Here is my sandbox https://github.com/pavelsr/mod_perl_sandbox
When I make docker-compose up then go to http://localhost:3000/env.pl resulted html is downloaded, not served.
Under CGI mode (with removed -DMODPERL in docker-compose) everything works…

Paul Serikov
- 2,550
- 2
- 21
- 36
0
votes
1 answer
Proc::Daemon with mod_perl does not write STDOUT or STDERR
I have am using Proc::Daemon in a mod_perl script thusly:
$bindir, $ddir are executable/logfile locations and $jid is a unique per process identifier (to avoid having the same file open by multiple processes). $cmd is loaded with arbitrary perl…

Severun
- 2,893
- 1
- 16
- 22
0
votes
1 answer
Dumping mod_perlified variables--what's the local namespace?
I have a mod_perl script:
use strict;
use warnings FATAL => 'all';
use 5.010001;
my $face = 'ugly';
use Data::Dump qq(pp);
die pp($ModPerl::ROOT::ModPerl::Registry::C_3a_www_test_2epl::face);
It dies undef at C:/www/test.pl line 8.
I was…

Kev
- 15,899
- 15
- 79
- 112