Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, wfsurnbo@gmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

我出現了以上的資訊

原來這個編碼出了問題

就是在big5跟utf8上出了問題

======================================================
以下為apache的log file紀錄:
----------------------------
[Sat Apr 09 15:18:19 2005] [error] [client 203.204.136.209] e:/appserv2-5-1/www/hello4.pl is not executable; ensure interpreted scripts have "#!" first line

[Sat Apr 09 15:18:19 2005] [error] [client 203.204.136.209] (2)No such file or directory: couldn't spawn child process: e:/appserv2-5-1/www/hello4.pl

很顯然,APACHE找不到以#!為開頭的shebang line,
問題是我的perl檔案可是有在第一行明確寫上#!e:\perl\bin\perl.exe,
所以我懷疑是apache看不懂以utf-8編碼的perl檔案,才會導致此一錯誤訊息...

如果小弟解決了這個問題的話!再po上來給大家!

如果有哪位大大剛好看到這篇文章的話!知道怎麼解決的話!請告訴小弟!非常的感謝!


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 jianmin2 的頭像
    jianmin2

    閒人站 (收集好文章,分享全世界! )

    jianmin2 發表在 痞客邦 留言(0) 人氣()