The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
48 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
0answers
23 views

intermittent ErrorDocument not working

I have an apache-2.2 server that is intermittently not recognizing the ErrorDocument clause when a non-existent cgi file is requested. Sometimes it responds with a 404 as defined below, and sometimes ...
0
votes
0answers
57 views

Can I dynamically generate apache config files without using <perl> tag? Similar alternatives are an option

I am trying to find a way to dynamically generate vhost configurations when Apache starts. I am aware of mod_vhost_alias and mod_rewrite [suggested by Apache][1]. I'm afraid these won't work since ...
0
votes
1answer
42 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 ...
0
votes
0answers
41 views

Apache2: upload restarts over and over

We are using different upload scripts with Perl-Module CGI for our CMS and have not encountered such a problem for years. Our customer's employees are not able to get a successful download. No matter ...
0
votes
0answers
82 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
1answer
188 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 ...
0
votes
1answer
144 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
1answer
43 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> \_ ...
2
votes
0answers
97 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
1answer
37 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 ...
-1
votes
1answer
87 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
2answers
556 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
1answer
72 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 ...
0
votes
2answers
189 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
1answer
456 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
2answers
314 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 libgdbm, but ...
2
votes
1answer
256 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
2answers
5k 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
40 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 ...
0
votes
1answer
478 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
2answers
825 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 ...
2
votes
1answer
120 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
1answer
336 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
2answers
803 views

How to disable mod_perl on xampp for linux 1.7.4?

I could not find any perl config in /opt/lampp/etc/httpd.conf.
1
vote
1answer
738 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
2answers
152 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
1answer
224 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, ...
2
votes
1answer
764 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
2answers
932 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
1answer
231 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
4answers
384 views

perl accelerator? [closed]

what is the best accelerator for Perl website?
0
votes
1answer
1k 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 ...
3
votes
4answers
639 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
1answer
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
1answer
470 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
2answers
549 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
1answer
88 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 ...
3
votes
1answer
163 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
1answer
503 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
4answers
1k 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 ...
1
vote
1answer
153 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 ...
0
votes
1answer
375 views

Changing apache config with mod_perl, doesnt work!

This script supposedly should take * out of *.domain.com, assign it to $subdomain variable, and $subdomain should be put to AssignUserId. However, no matter how hard I try, I can't get this to work. ...
0
votes
1answer
1k views

Using URL within Vhost container with mod_perl dynamically

We want to retrieve URL and use it inside our vhosts, realtime. To demonstrate my case, I placed random numbers on ServerAdmin directive, $ServerAdmin = int(rand(100))."loko\@koko.com"; As you ...
0
votes
2answers
79 views

Cpanel: putting a custom directory in /etc/httpd [closed]

I need some custom filters for Apache, so I wrote a mod_perl module MyFilter and put this in /etc/httpd. However, 24 hours later, cpanel seems to remove all 'unkown' directories from /etc/httpd. How ...
2
votes
4answers
182 views

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 ...
1
vote
2answers
101 views

Ideal Dev Environment

We have a linux based development server which we connect to from our windows based desktops (via ssh, scp, samba (mapped network drive), etc) We're doing web development in perl, using apache2, ...
0
votes
3answers
388 views

finding out server-status from apache2 when at MaxClients

Im trying to debug why an app server of ours all of its apache children lockup and stop serving requests. These are mod_perl app servers. The problem is that to find out what the current requests are ...
0
votes
3answers
248 views

Dynamically generating <Location /> constructs in Apache using mod_perl

I need to have my Apache web-server serve a lot of sites through <Location /> structures. The last thing I want is a massive file with every single <Location /> structure for every single ...