|
我在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 |
|