LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 582|回复: 0

cgi程序问题

[复制链接]
发表于 2003-3-4 16:15:09 | 显示全部楼层 |阅读模式
这是/etc/httpd/conf/httpd.conf里关于cgi的定义

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

AddHandler cgi-script .cgi

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


请问有什么问题吗???

我在该目录下放一个.cgi的文件,为什么老是出下面的错误:

Internal Server Error


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


Please contact the server administrator, webmaster@163.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.
:confused:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表