我在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/下面。
==============================
请帮忙看看,谢谢了 |