I'm just starting with mod_perl. I converted my cgi scripts for mod_perl usage. They work fine as plain cgi. When i go from one screen to another via submit or link, or just refresh a couple of times my data disappears. No errors, just a blank form. I have no idea what is wrong.

I've verified a few things...

mod_perl is installed
GATEWAY_INTERFACE CGI-Perl/1.1
MOD_PERL    mod_perl/1.99_05-dev

In Httpd.conf...
PerlModule Apache2 CGI DBD::mysql (Also tried Apache::DBI here too)

Sample of whats in my scripts...
use sctrict;
my ($dbh) = DBI->connect('DBI:mysql:mypwd:localhost','myuser','myuser');
my ($sql)   = qq{SELECT * FROM somtable};
...
Display Data
end html

_________________________________________________________________
Crave some Miles Davis or Grateful Dead? Your old favorites are always playing on MSN Radio Plus. Trial month free! http://join.msn.com/?page=offers/premiumradio



-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to