【求助】有些CGI可執行,有些卻跑出500? - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網站架設 / 免費空間 / 虛擬主機 專區 > ☉ -- 架 站 DIY 討 論 版


PCZONE 討論區



通知

☉ -- 架 站 DIY 討 論 版 有了寬頻後,可利用來架設 WWW / FTP / MAIL 等各種 SERVER,請在此版跟大家一起討論各種 SERVER 架設心得。

會員
【求助】有些CGI可執行,有些卻跑出500?
我自己的網頁..
http://hpo14.myftp.org/cgi-bin/updown_w/updown.cgi
這個可以執行

下面這個卻不能?
http://hpo14.myftp.org/cgi-bin/BR/br2_reg.cgi

架站包:AppServ 2.4.0
這是他2.4.0版的內容
語法:
AppServ reduce file size from 24MB to 8MB but everything not cut it off. 
AppServ 2.4.0 

Apache 1.3.29
PHP 4.3.6
MySQL 4.0.18
Zend Optimizer 2.5.1
phpMyAdmin 2.5.6
Perl 5.8.0
他雖然有內健 perl 5.8.0,但我自己還是裝了ActivePerl的最新版...

知道我問題出在哪的人,可以幫個忙嗎?

回覆
會員

加入此行
print "Content-type: text/html\n\n";
回覆
會員

可是他的程式碼已經有了ㄝ

---------------------
print "HTTP/1.0 200 OK\n" if($no_parse_header == 1);
print "Content-type: text/html; charset=shift_jis\n\n";
print "<html><head><title>CGI Error</title></head>\n";
print "<body><h1>CGI Error</h1>\n";
print "<p>This program encountered an internal error.</p>";
print "<p><b>Error:</b> $_[0]</p>\n";
print "</body></html>";

回覆







 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。