Script perl not running under mod_perl

2001-09-20 Thread Flavio D' Amore
Hi, i would understand what's wrong in my Apache configuration 'cause my script perl don't run under mod_perl. Could you help me please? In attach i've sent you my httpd.conf and f.pl which executing it return in error.log the following message: We're NOT running under mod_pe: /u/dsimv4/she/f.pl

Persistent Database connections

2001-09-14 Thread Flavio D' Amore
Hi, Im very near to the solution of my problem, but there's still a thing that's not working properly. Before running my perl script (f1.pl) i see five httpd@hostname sessions in Oracle V$session but at the moment in which i run f1.pl there appear a seventh session alone such f1.pl@hostname.

Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Flavio D' Amore
Hi, im reading on mod_perl and Relational Databases (http://apache.org/guide/databases.html), Introduction, that persistent database connections needs to have set $ENV{MOD_PERL} in order to execute CGI perl script via mod_perl and not via normal CGI. What's the right value for that variable and

Persistent Database connections to Oracle

2001-09-13 Thread Flavio D' Amore
Hi! How can i configure the startup.pl in order to use a global symbol such as $lda = Apache::DBI-connect_on_init(... including a persistent database connection to Oracle that's could be shared by other perl scripts? Thanks a lot best regards --- Fl@vio D' Amore

Error using mod perl

2001-09-12 Thread Flavio D' Amore
Hi I've succeeded builded, tested and installed the following modules: DBI-version 1.13 DBD-Oracle version 1.06 Apache::DBI version 0.87 Im using Oracle8i (8.1.7.0.0) DB. But at the moment in which i try to use my perl script i receive in error_log the following message: Can't call method