由 liyajiun 在 04-09-2003 20:58 发表:
linux 下 apache+cgi 的问题
我在redhat linux 7.3 下进行 apache 配制;
在httpd.conf中配置如下:
ScriptAlias /cgi-bin "/var/www/cgi-bin/"
1<directory "="" cgi-bin"="" var="" www="">
2
3AllowOverride None
4
5Options ExecCGI
6
7Order allow,deny
8
9Allow from all
10
11<directory>
12
13执行 http://192.168.1.1/cgi-bin/ab.pl(其中 192.168.1.1 是我的ip地址。ab.pl 是我编的perl程序) 时出现下列错误;
14
15
16
17Internal Server Error
18
19The server encountered an internal error or misconfiguration and was unable to complete your request.
20
21Please contact the server administrator, root@localhost and inform them</directory></directory>