Real world experiences of multilingual websites

2005-12-13 Thread Clinton Gormley
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

[mp2] local %ENV causes Segmentation fault or Bus error

2005-12-13 Thread Peter Walsham
-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

Persistent DB Connection problem

2005-12-13 Thread Albert Vila
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

Re: Persistent DB Connection problem

2005-12-13 Thread Kevin A. McGrail
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

Re: Persistent DB Connection problem

2005-12-13 Thread Perrin Harkins
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

Re: Persistent DB Connection problem

2005-12-13 Thread Albert Vila
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

Re: Persistent DB Connection problem

2005-12-13 Thread Kevin A. McGrail
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

Re: Persistent DB Connection problem

2005-12-13 Thread Jonathan Vanasco
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

Re: Persistent DB Connection problem

2005-12-13 Thread Larry Leszczynski
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

Re: Persistent DB Connection problem

2005-12-13 Thread Philip M. Gollucci
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

[mp2] local %ENV causes Segmentation fault or Bus error

2005-12-13 Thread Peter Walsham
-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

Re: Phase/URL repeat

2005-12-13 Thread Philip M. Gollucci
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.

Re: [mp2] local %ENV causes Segmentation fault or Bus error

2005-12-13 Thread Philip M. Gollucci
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

FreeBSD/mod_apreq2.so

2005-12-13 Thread Ryan Perry
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!

Re: FreeBSD/mod_apreq2.so

2005-12-13 Thread Philip M. Gollucci
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