LinuxSir.cn,穿越时空的Linuxsir!

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

linux 下 apache+cgi 的问题

[复制链接]
发表于 2003-4-9 20:58:56 | 显示全部楼层 |阅读模式
我在redhat linux 7.3 下进行 apache 配制;
在httpd.conf中配置如下:
ScriptAlias /cgi-bin "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
<Directory>
执行 http://192.168.1.1/cgi-bin/ab.pl(其中 192.168.1.1 是我的ip地址。ab.pl  是我编的perl程序) 时出现下列错误;

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.
Apache/1.3.20 Server at localhost.localdomain Port 80
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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