ใช้ vps แต่ CGI- BIN ขึ้น แบบนี้แก้ตรงไหนครับ

ใช้ vps แต่ CGI- BIN ขึ้น แบบนี้แก้ตรงไหนครับ

500 Internal Server Error

Internal Server Error

The server encountered an internal error or

misconfiguration and was unable to complete

your request.

Please contact the server administrator,

webmaster@xxxxxx.us 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.

Additionally, a 404 Not Found

error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2 Server at www.xxxxxx.us Port 80

vps ของต่างประเทศครับ

เราต้องแก้ส่วนไหน หรือเกิดจาก CGI-BIN ไม่ได้เปิดใช้ครับ

ช่วยทีครับ

จำได้เหมือนว่าเคยแจ้งว่า script ที่ใช้ต้องใช้ perl ใช่ไหมครับ ถ้าใช่ลองเอา script นี้

http://johnbokma.com/mexit/2007/01/05/simple-perl-test-cgi-program.html

ไปทดสอบก่อนก็ได้ครับว่า perl ใช้ได้ไหม

ลอง chmod ไฟล์ให้เป็น 755 ดูครับ -rwxr-xr-x