apache2.0 配置CGI问题

apache2.0 配置CGI问题

apache2.0 配置CGI问题
请问高手,我用的是linux as 4自带的apache2.0 配的CGI,具体配置如下,并将文件的权限设为最大,怎么运行不了perl的CGI程序.
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"


<Directory "/var/www/cgi-bin/">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all

错误提示是:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost 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.

请指教,谢谢
试一下是否启用了某个选项.
试一下是否启用了某个选项。
ls -Z
如果选项有效的话,那这个就是问题了。如果此选项无效的话,检查一下error.log有什么提示。
AddHandler cgi-script .c.
AddHandler cgi-script .cgi

以上这一句的注释去掉了没?