The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
36 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
0answers
20 views

mod_perl, how can we control workers spawned by Apache 2.0 process

I have a particular issue with mod_perl, but instead of asking for help I decided to make it more general question so that it could be more usefull for community. Also I am not experienced system ...
0
votes
0answers
35 views

Apache's mod_perl access to Basic AuthType screen

I am looking to implement a perl script that gathers the login information (specifically, the username) before that information logs into the system. My current setting is the following PerlRequire ...
0
votes
1answer
88 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, ...
0
votes
0answers
51 views

Apache server error on file upload - Apache2::RequestIO::read Internal error

I have a problem loading files on an Apache (2) server. We use mod_perl 2.0 and are using a perl script to upload files. The environment is Red Hat and Apache 2.x Since yesterday I have been getting ...
2
votes
1answer
34 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
62 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
30 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
74 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
466 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
64 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
148 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
286 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
227 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
190 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
3k 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
942 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
39 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
67 views

glob in perl doesn't work on RHEL 6.2 webserver

here's a very simple script: [root@poker cgi-bin]# cat globtest.pl #!/usr/bin/perl -w my $foo="/tmp/*"; my @glob=glob($foo); my $size=scalar(@glob); print "Content-type: text/html\n\n"; print ...
0
votes
1answer
419 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
613 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
117 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
297 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
662 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
572 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
131 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
218 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
598 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
788 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
211 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
339 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
557 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
2k 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
438 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
393 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
81 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
160 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
464 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
132 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
359 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
933 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
73 views

Cpanel: putting a custom directory in /etc/httpd

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
171 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
100 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
385 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
243 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 ...