Questions tagged [mod-perl]
57 questions
4
votes
1 answer
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:
ServerName myhost.example.com
ErrorLog /var/log/apache2/myhost-error.log
The nominated file correctly gathers…
Mike Taylor
- 41
- 1
4
votes
4 answers
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 docs on how to get this set up and running on…
AndrewR
- 432
- 2
- 10
4
votes
1 answer
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 /web/test which will serve webpages for that…
user34260
3
votes
4 answers
Multiple Developers, One Apache (with mod_perl)
I have multiple developers on one server, each with their own copy of the same perl codebase checked out of SVN.
I want each developer to have their own subdomain pointing to their own copy of the codebase.
I tried putting PerlSwitches inside , but…
aidan
- 615
- 4
- 10
- 23
3
votes
1 answer
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?
smokris
- 685
- 3
- 13
- 27
3
votes
1 answer
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
Order Deny,Allow
Allow from…
Sam Lee
2
votes
1 answer
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:
\_ /usr/sbin/httpd
| \_ /usr/sbin/httpd
| | \_ /usr/sbin/httpd
|…
Rob Van Dam
- 141
- 1
- 2
- 6
2
votes
2 answers
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 libgdbm,
but libgdbm.so was not found.
You could…
Tsevg9
- 33
- 8
2
votes
1 answer
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 being invoked. As the load returns the following…
the-wabbit
- 40,319
- 13
- 105
- 169
2
votes
1 answer
How do I configure httpd.conf so that scripts inside only get run if there's a flag parameter in the querystring?
mod_perl provides a way to run perl scripts in httpd.conf:
...scripts goes here...
How do I configure httpd.conf so that scripts inside only get run if there's a flag parameter in the querystring?
linux
- 1,143
- 3
- 12
- 15
2
votes
4 answers
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-perl and using the prefork module of apache2 with…
ufk
- 323
- 3
- 7
- 26
1
vote
1 answer
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 config file for the domain I have:
Andrew Newby
- 1,041
- 1
- 22
- 48
1
vote
0 answers
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 users, load average: 1.96, 1.94, 1.97
Tasks: 178…
Andrew Newby
- 1,041
- 1
- 22
- 48
1
vote
1 answer
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:
ServerName test
DocumentRoot /srv/www/test.pro/www
ErrorLog /srv/www/test.pro/logs/error.log
…
Andrew Newby
- 1,041
- 1
- 22
- 48
1
vote
1 answer
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 configuration given below.
…
Diode
- 121
- 5