我是python cgi编程的新手。我已经在linux mint上安装了Apache2.2服务器,并且我在var/www文件夹中有我的html表单,它可以正常显示。表单的操作是我放在/usr/lib/ cgi -bin文件夹中的cgi脚本。但在提交时,它会显示“请求的URL /usr/lib/cgi-bin/file.cgi as not found on this server”。有人知道
我已经搜索了关于这个问题的几个主题,并且在以下链接上搜索了完全相同的上下文(在linux上运行diogenes ),但由于提交中的含糊不清,它被关闭了:
Can't use 'definedat /usr/local/diogenes/perl/CPAN/CGI.pm line 449. if (defined(@QUER
我试着用cgi脚本来运行perlscript。但是,包含perl的cgi库不起作用:Can't locate CGI/Carp.pm in @INC (you may need to install the CGI::Carp module) (@INC contains: /etc/perl /usr/local/lib