cgi可以用c++寫嗎 - BBS

Table of Contents

我寫了一個簡單的程式
#include <iostream.h>
void main(void)
{cout <<"hello"<<endl;}
編譯為a.cgi (chmod 777)
放在cgi-bin下的目錄
不過會出現Internal Server Error 500的訊息
不過如果去抓別人的pl程式就可以正常執行
不知道我哪裡做錯了呢??

--

All Comments