一般我们把cgi脚本放在cgi-bin目录,然后给cgi-bin及该脚本给予0755权限,当运行出现500错误时,一般采取两种方法可解决!
方法一、新建一个.htaccess文件,里面添加如下代码:
AddHandler cgi-script .cgi
然后将二进制其上传到网站所在目录的cgi-bin目录即可!
方法二、在CPANEL控制面板增加mime类型:application/perl,扩展名:cgi即可。
看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
ppt.cc/fKlBax ppt.cc/fwlgFx ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx
Total Pageviews
Monday, 12 December 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment