I need to build a website (friends reunited style) which should be
multilingual from the start.
I am interested in hearing about real world experiences of i18n and
mod_perl (I'm using mod_perl 2). There are some new modules that have
become available since the last time this was discussed on this
-8<-- Start Bug Report 8<--
1. Problem Description:
Summary
Calling "local %ENV" from anywhere inside a mod_perl handler will
terminally
flaw the httpd process. The httpd process will function fine on the first
request, but will die the
Hi all,
I'm having problems setting up the apache + mod_perl + Apache::DBI in
order to get persistent db connections.
I've added the following line in my httpd.conf:
PerlRequire /home/xxx/startup.pl
The startup.pl file contains:
#!/usr/local/bin/perl -w
$ENV{MOD_PERL} or die "GATEWA
I'm having problems setting up the apache + mod_perl + Apache::DBI in
order to get persistent db connections.
I've added the following line in my httpd.conf:
PerlRequire /home/xxx/startup.pl
The persistent connection is one per child process so I don't know if your
test is correct. Try i
On Tue, 2005-12-13 at 18:10 +0100, Albert Vila wrote:
> However, the persistent connections still does not work. The system
> creates a new db connection for earch child.
That's what it's supposed to do, as documented in the Apache::DBI man
page. If it creates more than one connection with the
I thought the persistent connection was only one for all childs.
What happens then if I have 1000 childs each one with 1 db connection?
This means 1000 database connections. How do you setup apache + mod_perl
in this environment?
Albert
Kevin A. McGrail wrote:
I'm having problems setting up
Albert:
You will need 1000 database connections to handle 1000 apache children with
persistent connections. The persistent connection only helps get rid of the
delay of connecting to the database each time with each script.
What I believe you are asking for is a database proxy. Sorry, I don't
On Dec 13, 2005, at 12:59 PM, Albert Vila wrote:
I thought the persistent connection was only one for all childs.
What happens then if I have 1000 childs each one with 1 db
connection? This means 1000 database connections. How do you setup
apache + mod_perl in this environment?
Albert
Hi Albert -
On Tue, 13 Dec 2005, Albert Vila wrote:
I thought the persistent connection was only one for all childs.
What happens then if I have 1000 childs each one with 1 db connection? This
means 1000 database connections. How do you setup apache + mod_perl in this
environment?
Typical
On Tue, 13 Dec 2005, Kevin A. McGrail wrote:
I'm having problems setting up the apache + mod_perl + Apache::DBI in order
to get persistent db connections.
I've added the following line in my httpd.conf:
PerlRequire /home/xxx/startup.pl
The persistent connection is one per child process
-8<-- Start Bug Report 8<--
1. Problem Description:
Summary
Calling "local %ENV" from anywhere inside a mod_perl handler will
terminally
flaw the httpd process. The httpd process will function fine on the first
request, but will die th
I haven't followed this whole thread, so I may be way off base here:
If you're implementing a filter, you're filter handlers _will_ be called
as many times as neccessary.
You can account for multiple invocations or pass along information in
$f->ctx() see the filter examples on the docs site.
This works for me I can even do both local and Sys::HostIP at once ! :)
p.s. its called hostip now
PERL: 5.8.7
HTTPD: SVN - 2.3.0-dev prefork
MP: SVN - 2.0.3-dev this is 2.0.2 + 2 unrelated changes
Sys::HostIP: 1.0
OS: FreeBSD 6.0-RELEASE
SetHandler modperl
PerlResponseHandler TEST::ENV
I'm having a problem with apreq2.06:
Cannot load /usr/local/apache2/modules/mod_apreq2.so into server: /
usr/local/apache2/modules/mod_apreq2.so: Undefined symbol
"apreq_hook_find_param"
what did I do wrong?
Thanks!
On Tue, 13 Dec 2005, Ryan Perry wrote:
I'm having a problem with apreq2.06:
Cannot load /usr/local/apache2/modules/mod_apreq2.so into server:
/usr/local/apache2/modules/mod_apreq2.so: Undefined symbol
"apreq_hook_find_param"
what did I do wrong?
Thanks!
First of all, you should show your
15 matches
Mail list logo