Linux « FTP server - ProFTPD | HOME | Yum - add repository & fastest mirror »
■ CGI - Syntax check
If you would like to check syntax for CGI
# perl -wc file
Also CGI should be sent to server by ASCII mode on FTP.
Basically permission should be 755. If does not work, try 777.
Check perl location
# whereis perl
Try to execute
# ./file.cgi
Or use Debug mode (CGI::Carp) This is defaut function on Perl 5.
add below line in your CGI file.
use CGI::Carp qw(fatalsToBrowser);
-------------------------
reference
http://www.deneb.jp/archives/2005/05/cgi_1.html
投稿者 tomopugh : 2007年03月16日 14:13

