|
我想在httpd.conf只裏設定VirtualHost?砼茏约壕W站及CGI,而不想更改原本的設定,但是在跑CGI時老是出錯。
Server error!
The server encountered an internal error and was unable to complete
your request.
Error message:
Premature end of script headers: perl.cgi
If you think this is a server error, please contact the webmaster
Error 500
Apache/2.0.40 (Red Hat Linux)
我試過把cgi-bin裏的cgi檔更換755,777,644等屬性以及上傳過別的CGI程式都是出錯,請問是甚麼原因
跑CGI是否要修改 perl.conf 或是其他方面?
而我用rpm -qi perl
是已安裝perl 5.8 版本
這是我的httpd.conf檔,我真的搞不清是哪有問題,麻煩大大們看看。
http://scorpius.spaceports.com/~kwzone/httpd.conf |
|