由 冰箱 在 06-22-2004 12:59 发表:
CGI出现的一个错误(Error 500)[已找到问题了]
我在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中关于这个虚拟主机的配置:
1<virtualhost 219.149.xxx.xxx="">
2
3ServerAdmin [email protected]
4
5DocumentRoot /home/web/xxx.com
6
7ServerName xxxx.3322.org
8
9Errorlog /var/log/httpd/xxx.com/errlog
10
11Customlog /var/log/httpd/xxx.com/accesslog common
12
13ScriptAlias /</virtualhost>