cgi not working :(
Ronnie
rlivings at hawaii.edu
Sun Aug 26 21:55:54 PDT 2001
hello, Warren help us set up redhat this past tuesday and today while
moving some scripts over to the redhat machine i noticed that the scripts
wouldnt work. The script alias in the httpd.conf file is this (if i
remember right)
ScriptAlias /cgi-bin/ /vars/www/cgi-bin/
which correct me if im wrong means i put the cgi files in the directory
vars/www/cgi-bin but to view them i would look under
http://someurl/cgi-bin/scriptname
I tried viewing the script but i kept getting the 500 error, so i compiled
my script and i got this error:
(offline mode: enter name=value pairs on standard input)
log=ronnie
pwd=ronnie
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at (eval 4) line 3, <STDIN> line 2.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Pg, Proxy.
at testtopicmsg.cgi line 6
Im assuming this means that DBD is not installed so i download the dbd for
mysql from here:
http://www.lynxafrica.demon.co.uk/dbi/
but when i try and compile the perl file eventually it says that mysql.h
not found. help!
sorry for the long email
More information about the LUAU
mailing list