Questions tagged [mod-perl]
The mod-perl tag has no usage guidance.
57
questions
0
votes
0
answers
215
views
Empty response of nginx with ngx_http_perl_module
I have to run a very simplistic piece of perl code in response to HTTP request.
The nginx config is:
http {
perl_modules perl/lib;
perl_require errors.pm;
server {
listen ...
1
vote
1
answer
529
views
apache error "no macro defined before Use"
REVISED
I inherited this apache server from a Perl shop that I now work. When this web server was on ubuntu 14.04, I had no issues starting apache. I upgraded the server to ubuntu 18.04 and now ...
1
vote
1
answer
170
views
mod_perl seems to be sharing modules across user accounts
Please do ask if you need any more information. I'm just trying to work out what is going on. So I have a server with nginx as the front end, and then passing along to
Apache (2.4.18). In my Apache ...
0
votes
1
answer
441
views
Perl can't find Multicast.pm [duplicate]
[root@newserver Socket]# /root/scripts/filetest testfile.txt
Can't locate loadable object for module IO::Socket::Multicast in @INC (@INC
contains: /usr/local/lib64/perl5/IO/Socket /usr/local/lib64/...
1
vote
0
answers
1k
views
Apache 2.4 , CPU running at 100% for unknown reason
I'm trying to work out why my server has such a high CPU consumption coming from Apache 2.4.I'm on Ubuntu 16.
Here is what I currently see in "top":
root@mail:~# top
top - 12:54:47 up 42 min, 2 ...
1
vote
1
answer
430
views
nginx + apache2 proxy pass, with mod_perl not working
I'm trying to get mod_perl working on Apache/2.4.18 (Ubuntu). Here is my main domain config file in Apache2:
<Virtualhost 0.0.0.0:8181>
ServerName test
DocumentRoot /srv/www/test.pro/...
0
votes
1
answer
90
views
automatic dedicated access_log for each client using ip in naming
We have an internal app and I want to have the apache httpd server create new log files based on each of the client ips. In the documentation I see you can have multiple logs.
http://httpd.apache.org/...
1
vote
1
answer
877
views
Apache - mod_perl : Unknown Authz provider 'access'
I am trying to set up and run an old Web application(written in 2010) in a new Linux environment. The Apache server is not starting because of the error Unknown Authz provider access, caused by the ...
-1
votes
1
answer
1k
views
How can i get rid of “apache2 : Depends: perl but it is not going to be installed” in ubuntu 14.04 desktop?
This is the error message i have at console when running
$sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could ...
1
vote
0
answers
1k
views
Trying to add CPAN Perl Modules to mod_perl on Apache CentOS 7
I am running Apache on Centos 7.
Some of the Perl modules that were not available via yum I have installed using CPAN in the custom location /export/home/www/perl5. I have used this custom location ...
1
vote
1
answer
132
views
Request Tracker 4.2.12 - Cannot create scrips
I recently inherited a RT installation, and after upgrading it to 4.2.12 scrips can no longer be created. This happens if someone is trying to create a scrip local to a specific queue or globally. ...
1
vote
1
answer
716
views
Apache mod_perl cannot locate startup script
Running Centos 6.6 with Apache 2.2.15 and mod_perl 2.0.4
I'm trying to add a startup script (startup.pl) but cannot seem to get
mod_perl to find it. I've reduced the config down to the bare minimum
...
0
votes
1
answer
173
views
Perl Section in Apache config don't work
I have installed mod_perl on my server via yum to make use of Perl sections in the Apache config. I'm running Apache 2.2 on CentOS 6. I installed the necessary Perl modules (DB2 driver mainly) via ...
1
vote
0
answers
164
views
Apache keep catching SIGTERM out of the blue
I have apache 2.2.15 server on CentOS release 6.6 (Final). It runs mod_perl and some perl scripts in junction with mysql DB.
The problem I'm encountering is that from time to time apache gets SIGTERM ...
0
votes
1
answer
1k
views
Installing mod_perl 2 on Apache2 fails
I'm trying to install mod_perl 2.0.8 on a fresh installation of Apache 2.2.27 / RHEL 7.
Apache was built from source and installed to /usr/local/apache2. I then installed mod_perl with MP_APXS=/usr/...
0
votes
1
answer
375
views
Shared Bugzilla with SSL and mod_perl has login cookie issues
I've managed to set up a shared mod_perl Bugzilla environment using the PROJECT variable, and it works perfectly.
Now I'm trying to do the same thing on a different server, with the same basic setup, ...
2
votes
1
answer
88
views
What could cause deeply nested apache prefork children?
I'm running apache 2.2.25 with prefork and mod_perl on CentOS (mostly 6.4). Recently one instance went particularly haywire, forking off children of children of children:
<snip>
\_ /usr/sbin/...
4
votes
1
answer
1k
views
On Apache2/mod_perl2, stderr output doesn't go to logfile nominated by ErrorLog
I like to maintain separate Apache2 logfiles for each of my named virtual hosts, like this:
<VirtualHost *:80>
ServerName myhost.example.com
ErrorLog /var/log/apache2/myhost-error.log
</...
0
votes
1
answer
56
views
Apache: set aside specific number of servers for a single "high priority" script
I have a bunch of scripts, but some of them are higher priority than others:
/var/www/normal-priority/script1.pl
/var/www/normal-priority/script2.pl
/var/www/normal-priority/script3.pl
and
/var/www/...
-1
votes
1
answer
123
views
Stablist / easiest to maintain free OS to run SAMBA 4, PostgreSQL, mod_perl2 on? [closed]
This is just for a 20-client network of XP Pro machines: a file/print share server, possibly a domain controller unless I can get by without it, and a db and intranet app host. I need to be able to ...
1
vote
2
answers
763
views
BugZilla: Adding PerlConfigRequire to apache2 conf generates errors when restarting service
I've been following the BugZilla installation documentation and using mod_perl w/ apache2. Everything has gone fairly smooth and bugzilla pages appear to be getting rendered and served correctly, but ...
1
vote
1
answer
120
views
mod_perl custom configuration directives don't work when placed in .htaccess and there is <Location>
I'm trying to complete Redmine's feature request #2693: Use Redmine.pm to authenticate for any directory (1).
I have not much knowledge on all these things and need help.
Redmine uses mod_perl module ...
1
vote
2
answers
508
views
Mod_Perl configuration for multiple domains
Reading the Mod_Perl module documentation, can we configure it on per domain basis, what I mean can we configure it to run on every domain or specific domain only.
What I see in the docs is:
...
0
votes
1
answer
1k
views
Mod_Perl AddType .pl execution on apache
I've recently been using PHP via mod_php, and I assumed that getting mod_perl running properly was going to require a similar setup:
AddType application/x-httpd-php .php
unfortunately this does ...
2
votes
2
answers
730
views
Mod_Perl Install Error
I am installing software and one of the dependencies is mod_perl, when i run
#perl Makefile.PL
I receive this error:
************* WARNING *************
Your Perl is configured to link against ...
2
votes
1
answer
685
views
Apache with mod_perl eating memory when idle
An Apache webserver running a mod_perl application is exposing abnormal memory usage - after the "day load" ceases, the system's memory is being exhausted by the Apache processes and oom_killer is ...
1
vote
2
answers
6k
views
Centos 6, apache mod_perl configured but not working
I just received today my dedi server access, I installed apache:
yum install httpd
After it, I configured httpd.conf located in /etc/httpd/conf, I modified server name, added server IP, and my email....
0
votes
1
answer
2k
views
Can't install Perl module Apache::SizeLimit on CentOS
On a CentOS machine I have installed mod_perl:
yum install mod_perl
...
Package mod_perl-2.0.4-10.el6.i686 already installed and latest version
Ok, now I want to install the Perl module Apache::...
0
votes
2
answers
191
views
apache2, perl and directory access
I have a perl script that wants to get a list of file in a directory using either opendir/readdir OR glob. It works fine if that directory is below the one the perl script is in OR /tmp. For any ...
1
vote
1
answer
732
views
mod_perl (2.0.x) on apache 2.2.x on Windows - abandoned?
mod_perl2 on Windows?
It's sometimes beneficial (at least for me) to have a
recent Apache http server plus mod_perl2 (and PHP)
running on the development (desktop) box to try out
some ideas.
This ...
0
votes
2
answers
2k
views
Apache2 won't start due to locate-error
I am running Apache/2.2.9 on SLES 10 and want to use Apache2::REST.
I installed it using cpan and added the Handler and the configuration stuff.
When I try to start Apache (apache2ctl start), it says:...
2
votes
1
answer
161
views
How do I configure httpd.conf so that scripts inside <perl></perl> only get run if there's a flag parameter in the querystring?
mod_perl provides a way to run perl scripts in httpd.conf:
<perl>
...scripts goes here...
</perl>
How do I configure httpd.conf so that scripts inside <perl></perl> only get ...
0
votes
1
answer
390
views
Apache 1.3 load increases until restart/graceful on CentOS/EC2. CPU usage climbs, and memcached access speed drops
When running a large mod_perl application on EC2, we've noticed that the CPU usage on the instance climbs gradually between restarts or graceful restarts.
Current setup: CentOS 5.4, m2.4xlarge ...
1
vote
1
answer
2k
views
How to timeout in mod_perl?
I'm looking for a server-wide setting for timeout with mod_perl scripts under Apache 2.2, similar to max_execution_time in php.
Timeout can be done with $SIG{ALRM} but it requires modification to ...
1
vote
2
answers
235
views
Memory management in Apache+Perl
I have a web farm that uses Apache 2.2.15 and mod_perl-2.0.4. I need to know if there is a comparable perl module to Apache::GTopLimit for mod_perl-2.x.
I have searched Google and other sites, and ...
0
votes
1
answer
250
views
OpenWebmail on Debian 5 (Perl 5.10)
I've upgraded server running OpenWebmail from Debian 4.0 to Debian 5.0. Perl was upgraded to 5.10 as well. I have issues with some functions of OpenWebmail (attachments are 0 bytes size, HTML-...
3
votes
1
answer
2k
views
Apache mod_perl vs. mod_cgi: How do I decide which to use?
What factors should I consider when deciding whether to use Apache's mod_perl or mod_cgi, when configuring an existing web application?
0
votes
2
answers
1k
views
Install mod_perl2 on Apache 2.2.14 (Ubuntu10.04)
I have installed via synaptic package ibapache2-mod-perl2.
I tried this line in httpd.conf:
"LoadModule perl_module modules/mod_perl.so"
Apache tells me when I reload the server :
"[warn] module ...
1
vote
1
answer
286
views
Which version of mod_perl should I install on IHS 7
We have a IHS box that requires me to install mod perl.
I'm trying to work out if I should install mod_perl 1 or 2.
apachectl -v returns:
Server version: IBM_HTTP_Server/7.0.0.11 (Unix)
Server ...
-1
votes
4
answers
466
views
perl accelerator? [closed]
what is the best accelerator for Perl website?
1
vote
1
answer
5k
views
Why does apache return a 404 response for a file that exists?
I have an apache server whose main purpose is to handle RPC requests. All such requests hit a url that begins with a fixed prefix (e.g., /rpc) I use a Location directive to set the handler for this ...
4
votes
4
answers
883
views
What is the easiest way to get mod_perl and mod_dav_svn integrated into Apache on Solaris 10
I've written some software that uses Perl code running inside Apache (using mod_perl) to work with (amongst other things) subversion (using the mod_dav_svn module).
I'm currently writing some how-to ...
0
votes
1
answer
3k
views
getting mod_perl working on a plain ubuntu 10.04 server install,
I am attempting to enable mod_perl on a fresh install of Lucid Lynx (ubuntu 10.04).
I have the libapache2-mod-perl2 installed, but I can't seem to get the .pl file to run instead of being downloaded.
...
1
vote
1
answer
628
views
mod perl in apache 2.2 not parsing perl scripts
I've set up a fresh Apache 2.2.15 server on windows server 2008 R2 with mod_perl (mod perl v2.0.4 / perl v5.10.1). Mod_perl and Perl 5.10 has been installed and loaded without problems. However, ...
0
votes
2
answers
898
views
How can I install both mod-perl2 and mod-php5 on Ubuntu?
From Ubuntu's package libary, I find the two modules I need. However:
mod-perl2 requires apache2-mpm-worker
mod-php5 requires apache2-mpm-prefork
The two apache modules are mutually exclusive and ...
1
vote
1
answer
176
views
Are there ways to write php/python code to run as hooks in the Apache Request Processing pipeline?
Does anybody know of any modules that provide the functionality to write python or PHP code to run as hooks in the Apache request processing pipeline? For instance, mod_perl lets me write PerlModules,...
3
votes
1
answer
189
views
Set top level directory to be handled by Perl?
I have an Apache server set up to use mod_perl. I have it set up to handle all requests using a Perl module MyModule. Here is part of my httpd.conf:
LoadModule perl_module modules/mod_perl.so
<...
4
votes
1
answer
572
views
Dynamic subdomains, mod_python and trac
I'm going to be running multiple subdomains, eventually too many to be able to each have their own config files. I have the vhosts working how I want them so each subdomain has their own folder eg /...
2
votes
4
answers
3k
views
apache2-worker + cgi-perl vs apache2-prefork + mod_perl - what’s faster? what takes less resources?
Hiya. I', using Gentoo linux. it seems that i cannot emerge/install mod_perl with a threaded apache2 so i would like to know what's the pros and cons of using the worker module of apache2 with cgi-...
1
vote
1
answer
207
views
Mixing scrips and static content with location tags in apache
I am trying to configure Apache to send most URI's to my mod_perl application with the exception of a few files, which I want to serve using the default handler. (send a static file)
I want all http:/...