RE: Connecting to more than one Oracle database

2006-12-14 Thread Garrett, Philip (MAN-Corporate)
Malka Cymbalista wrote: [snip] I connect in the following manner: DBI-connect(DBI:Oracle:asdb,user1,password1); and DBI-connect(DBI:Oracle:asdb2,user2,password2); I have a script that works from the command line but does not work when I run it from the web. When I run from the web it

RE: Getting post data

2006-10-05 Thread Garrett, Philip \(MAN-Corporate\)
Malcolm J Harwood wrote: 1) Is the headers_in case sensitive? (content-length ne Content-Length)? I believe so. The APR::Table docs say that it is case-INsensitive. Philip

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Garrett, Philip \(MAN-Corporate\)
Tyler Fullerton wrote: If I have the following script: www.somewhere.com/e3/datetz.cgi (where e3 is using PerlRun) that does the following: $ENV{'TZ'} = 'US/Eastern'; POSIX::tzset(); my @time = localtime(); my $time = time(); $ENV{'TZ'} = 'US/Pacific'; POSIX::tzset(); # I would

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Garrett, Philip \(MAN-Corporate\)
Tyler wrote: Another thing I just noticed is that you ran your tests under Apache::PerlRun, my mod_perl installation is using as its PerlResponseHandler ModPerl::PerlRun. What's the difference between the two? Apache::PerlRun is the mod_perl 1 module, ModPerl::PerlRun is for mod_perl 2.

RE: Using ENV{'TZ'} in mod_perl

2006-09-20 Thread Garrett, Philip \(MAN-Corporate\)
If you're using a perl compiled with thread support, you'll need to call POSIX::tzset() after setting $ENV{TZ}. From: Tyler [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 2:09 PMTo: modperl@perl.apache.orgSubject: Using ENV{'TZ'} in mod_perl Hello, I

RE: Occasional problems with URI package under mp

2006-09-19 Thread Garrett, Philip \(MAN-Corporate\)
Kjetil Kjernsmo wrote: Hi all! We've been seeing some really weird things with LWP, but only when running it on the web server. It works fine when running from the command line. For example, doing this: my $netloc = URI-new('http://www.blogger.com/feeds/default/blogs'); currently

RE: Occasional problems with URI package under mp

2006-09-19 Thread Garrett, Philip \(MAN-Corporate\)
Kjetil Kjernsmo wrote: Actually, the problem was far less reproducible than I first thought... At some point, I would get this error with use URI; use LWP::UserAgent; my $netloc = URI-new('http://www.blogger.com/feeds/default/blogs'); my $ua = LWP::UserAgent-new; warn foo; print

RE: Linux or FreeBSD?

2006-09-11 Thread Garrett, Philip \(MAN-Corporate\)
And which is better? vi or emacs? From: Matias Alejo Garcia [mailto:[EMAIL PROTECTED] Sent: Monday, September 11, 2006 9:17 AMTo: mod_perlSubject: Linux or FreeBSD? Hi all!I am installing a new web server. I will serve a site developed using Apache 2 / Mod_perl2 / MySQL

Apache::AuthDBI support

2006-08-21 Thread Garrett, Philip \(MAN-Corporate\)
Title: Apache::AuthDBI support Hi guys, Is anyone here still supporting Apache::AuthDBI? I sent a bugfix patch last week and have had no reply whatsoever, so I'm wondering if I should contact Ask directly. Thanks, Philip

RE: Apache::AuthDBI support

2006-08-21 Thread Garrett, Philip \(MAN-Corporate\)
Philip M. Gollucci wrote: Garrett, Philip (MAN-Corporate) wrote: Hi guys, Is anyone here still supporting Apache::AuthDBI? I sent a bugfix patch last week and have had no reply whatsoever, so I'm wondering if I should contact Ask directly. No, its me. I'll take care of it. Sorry

RE: dynamic loading

2006-08-21 Thread Garrett, Philip \(MAN-Corporate\)
Arshavir Grigorian wrote: Hi, I am wondering if anyone has experience with a framework for dynamically loading certain modules into an application and executing certain code based on whether a certain module is loaded (available or not). By dynamically, I do not mean loading run-time, only

RE: Getting internal server error when I run a simple CGI script

2006-08-21 Thread Garrett, Philip \(MAN-Corporate\)
Check your Apache error logs. "More information about this error may be available in the server error log." From: Deepak Mallya [mailto:[EMAIL PROTECTED] Sent: Monday, August 21, 2006 4:42 PMTo: modperl@perl.apache.orgSubject: Getting internal server error when I run a simple

Precedence problem in Apache::AuthDBI - patch

2006-08-17 Thread Garrett, Philip \(MAN-Corporate\)
Hi folks, I am using Apache::AuthDBI v1.02 on Apache/1.3.29 (Linux/SUSE) mod_perl/1.29. Perl v5.8.3. I received this error, and found it's due to an operator precedence problem: Undefined subroutine Apache2::Const::OK called at /usr/lib/perl5/site_perl/5.8.3/Apache/AuthDBI.pm line 906.