i put the .cgi file at the
/public_html/cgi-bin/
then try to access
http://xxx/cgi-bin/index.cgi
but go with error
========================================================================================
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] 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.
--------------------------------------------------------------------------------
Apache/1.3.33 Server at localhost Port 80
========================================================================================

/public_html/cgi-bin/
then try to access
http://xxx/cgi-bin/index.cgi
but go with error
========================================================================================
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] 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.
--------------------------------------------------------------------------------
Apache/1.3.33 Server at localhost Port 80
========================================================================================
