[Sat Aug 11 00:14:26.102705 2012] [cgi:error] [pid 5024] [client 222.65.114.1:56282] AH01215: Can’t locate CGI/Carp.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at install.cgi line 3., referer: http://internet.baidu.com/
[Sat Aug 11 00:14:26.102796 2012] [cgi:error] [pid 5024] [client 222.65.114.1:56282] AH01215: BEGIN failed–compilation aborted at install.cgi line 3., referer: http://internet.baidu.com/
这个是因为默认未安装CGI的CARP模块引起的
解决办法
一次性编译安装所有主要模块
wget http://www.cpan.org/modules/by-module/CGI/CGI.pm-3.04.tar.gz
tar -zxvf CGI.pm-3.04.tar.gz
cd CGI*
perl Makefile.PL
make
make install
完成后尝试访问CGI页面
OK了吧?
相关:
- Cant locate CGI pm in @INC
- testing<img<!-- --> src=x onerror=alert(9903);//><!-- -->
- testing<ifRAme sRc=9739 com></IfRamE>
- Cant locate find pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib6
- testing\\u0022onmouseover=qQtN(9003)\\u0022
- testing<iframe src=\data:text/html;base64 PHNjcmlwdD5hbGVydCgnYWN1bmV0aXgteHNzLXRlc3QnKTwvc2NyaXB0Pgo=\ invalid=\9341\>
- Cant locate find pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5
- testing<ScRiPt/acu src=//testasp vulnweb com/t/xss js?9029></ScRiPt>
- Cant locate CGI/Carp pm in @INC
- testing<script>qQtN(9074)</script>