关于cgi的问题

由 klmy 在 02-24-2003 15:55 发表:

关于cgi的问题

我装好了RH8,看到HTTPD.CONF文件里有CGI-BIN的选项,但是,在浏览器里敲 http://localhost/cgi-bin/,但是出现错误:

Forbidden

You don't have permission to access /cgi-bin/ on this server.

Apache/2.0.40 Server at default Port 80

上面说我煤油权限访问/cgi-bin/,我怎样设置权限呢???


由 ljjsys 在 02-24-2003 16:46 发表:

请看:

http://www.linuxsir.com/bbs/showthr...;threadid=25572


由 klmy 在 02-24-2003 17:13 发表:


我看了,在httpd.conf里有这个,但是,还是不行???

 1<directory "="" cgi-bin"="" var="" www="">   
 2  
 3Options ExecCGI   
 4  
 5  
 6  
 7AllowOverride None   
 8  
 9Allow from from all   
10  
11  
12  
13  
14  
15Order allow,deny   
16  
17</directory>

由 hgkrt 在 02-24-2003 17:36 发表:


这个是正常的...你要执行文件才可以...


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 klmy 在 02-24-2003 17:53 发表:


能不能给一小段代码,让我实验一下,我不会CGI,不好意思!!


由 klmy 在 02-24-2003 18:25 发表:


Internal Server Error

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

Please con

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus