Should I expect DBI to work with mod_perl2?  I have a simple script that
just connects to a MySQL database and reports success or faiure.  When I
run it from cgi-bin as a regular CGI script, it succeeds.  When I put it in
my mod_perl script directory, it runs, but fails to connect.  My mod_perl
directory is configured as:

Alias /cgi /usr/local/apache2/perl
<Location /cgi>
  SetHandler                    perl-script
  PerlResponseHandler   ModPerl::Registry
  PerlOptions                   +ParseHeaders
</Location>

The script is named dbi.pl.  Thus, http://localhost/cgi-bin/dbi.pl connects
okay, but http://localhost/cgi/dbi.pl fails to connect

-- 
Daryl Lee
Open the present--it's a gift.

Reply via email to