CGI script help needed

Gungnir

Member
Dec 9, 2001
49
0
0
If anyone could help me here I would SOOOO appreciate it. My next stop is a consultant. I need to be able to run perl scripts on my e-smith so mysql can talk with perl. This quasi os is based on redhat 7.1. The dbi and dbd modules are installed correctly. I loaded the script in asci mode not binary. Perl works. Mysql works. But I get error messages when accessing the script with a browser. I have 2 other test scripts working fine. They use perl but not mysql. Any ideas?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
What's in the apache error logs?

Add -w to the top of the perl script, after #!/usr/bin/perl
 

DocDoo

Golden Member
Oct 15, 2000
1,188
0
0
Are you accessing the script as a .cgi link or .html? (If html then tend to the html file)

Is your "absolute paths" correct for data files?