LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 598|回复: 0

CGI出现的一个错误(Error 500)[已找到问题了]

[复制链接]
发表于 2004-6-22 12:59:55 | 显示全部楼层 |阅读模式
我在RH9上装了个CGI的留言簿,安装完成后发现图片不显示,都是X。
把图片的地址粘贴到IE地址栏访问,出现下面的错误:

Server error!
  The server encountered an internal error and was unable to complete your request.
  Error message:
  Premature end of script headers: 19.gif
  If you think this is a server error, please contact the webmaster
Error 500
  xxxx.3322.org
  Tue 22 Jun 2004 12:51:06 PM CST
  Apache/2.0.40 (Red Hat Linux)

我的httpd.conf中关于这个虚拟主机的配置:
<VirtualHost 219.149.xxx.xxx>
  ServerAdmin xxx@hotmail.com
  DocumentRoot /home/web/xxx.com
  ServerName xxxx.3322.org
  Errorlog /var/log/httpd/xxx.com/errlog
  Customlog /var/log/httpd/xxx.com/accesslog common
    ScriptAlias /cgi-bin/ "/home/web/xxx.com/cgi-bin/"
</VirtualHost>

CGI留言簿文件放在/home/web/xxx.com/cgi-bin/下面。
==============================
请帮忙看看,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表