Re: Apache::DBI connect_on_init problem

2010-04-17 Thread Jiri Pavlovsky
On 17.4.2010 23:21, Jiri Pavlovsky wrote: On 17.4.2010 22:42, Chris Bennett wrote: Oh, this is your error. You may only use Apache::DBI_connect_on_init for ONE connection, which stays up and running. Use your more important one (for speed) for this. This doesn't seem to make difference. It

Re: Apache::DBI connect_on_init problem

2010-04-17 Thread Jiri Pavlovsky
On 17.4.2010 22:42, Chris Bennett wrote: Oh, this is your error. You may only use Apache::DBI_connect_on_init for ONE connection, which stays up and running. Use your more important one (for speed) for this. This doesn't seem to make difference. It doesn't work even when making only one con

Re: Apache::DBI connect_on_init problem

2010-04-17 Thread Chris Bennett
On 04/17/10 15:09, Jiri Pavlovsky wrote: On 17.4.2010 22:22, Chris Bennett wrote: On 04/17/10 14:27, Jiri Pavlovsky wrote: Hello, I'm trying to prestart db connection. But Apache::DBI->connect_on_init is not working. Gives no error, but db connection is not made. Setting $Apache::DBI::DEBUG =

Re: Apache::DBI connect_on_init problem

2010-04-17 Thread Fred Moyer
On Sat, Apr 17, 2010 at 1:09 PM, Jiri Pavlovsky wrote:>  Apache::DBI->connect_on_init("dbi:Pg:dbname=p69", >    "user", >    "pass", >    { >      PrintError => 1, # warn() on errors >      RaiseError => 0, # don't die on error >      AutoCommit => 1, # commit executes immediately >      pg_enable

Re: Apache::DBI connect_on_init problem

2010-04-17 Thread Jiri Pavlovsky
On 17.4.2010 22:22, Chris Bennett wrote: On 04/17/10 14:27, Jiri Pavlovsky wrote: Hello, I'm trying to prestart db connection. But Apache::DBI->connect_on_init is not working. Gives no error, but db connection is not made. Setting $Apache::DBI::DEBUG = 2 indicates that ChildInitHandler runs. I

Re: Apache::DBI connect_on_init problem

2010-04-17 Thread Chris Bennett
On 04/17/10 14:27, Jiri Pavlovsky wrote: Hello, I'm trying to prestart db connection. But Apache::DBI->connect_on_init is not working. Gives no error, but db connection is not made. Setting $Apache::DBI::DEBUG = 2 indicates that ChildInitHandler runs. I tried to create my custom ChildInitHandle

Apache::DBI connect_on_init problem

2010-04-17 Thread Jiri Pavlovsky
Hello, I'm trying to prestart db connection. But Apache::DBI->connect_on_init is not working. Gives no error, but db connection is not made. Setting $Apache::DBI::DEBUG = 2 indicates that ChildInitHandler runs. I tried to create my custom ChildInitHandler and start db connection from it but i

Re: [PerlMapToStorageHandler] Basic URI to File translation example

2010-04-17 Thread Torsten Förtsch
On Saturday 17 April 2010 18:32:13 Robert Smith wrote: > PerlMapToStorageHandler > > I would like to use the PerlMapToStorageHandler to translate a URI file > request into a Filesystem file request. I have a couple functions to check > and see if a file exists, and if not, then copy it from a re

[PerlMapToStorageHandler] Basic URI to File translation example

2010-04-17 Thread Robert Smith
PerlMapToStorageHandler I would like to use the PerlMapToStorageHandler to translate a URI file request into a Filesystem file request. I have a couple functions to check and see if a file exists, and if not, then copy it from a remote server locally before allowing the request to go to the nex

Re: modperl and comet?

2010-04-17 Thread Michael Ludwig
E R schrieb am 16.04.2010 um 15:37:44 (-0500): [modperl and comet?] > I'm interested in adding a Comet capability to a (rather large) > mod-perl application. > > To get around XSS limitations, the Comet service will have the > same host and port as the web service. However, I don't want a > large