apache不让访问的问题

由 liuchui 在 12-01-2002 08:08 发表:

apache不让访问的问题

照论坛的配置装了apache2.0可是当连接时候提示如下:

Forbidden

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

Apache/2.0.43 Server at 211.83.253.81 Port 80

是哪里的问题


由 liuchui 在 12-01-2002 08:28 发表:


ip限制是这样的

Order allow,deny

Allow from 211.83.253.

Deny from all

其他的电脑也不能访问,都在211.83.253.这个ip范围内


由 eagle_n 在 12-01-2002 12:07 发表:

尝试

把你的html文件所在的文件夹权限更改为:755


由 bulin 在 12-01-2002 17:36 发表:


偶这按楼上两位说的设置了还是:"Forbidden"


由 dancingpig 在 12-01-2002 18:40 发表:


把deny和allow反过来呢?我装了忘记了:P


由 bulin 在 12-01-2002 20:52 发表:


偶的问题是这样的:

如果在httpd.conf中:

ScriptAlias /cgi-bin/ "/usr/local/apache/htdocs/cgi-bin/"

 1<directory "="" apache="" cgi-bin"="" htdocs="" local="" usr="">   
 2  
 3AllowOverride None   
 4  
 5Options ExecCGI   
 6  
 7order allow,deny   
 8  
 9allow from all   
10  
11</directory>

在访问cgi文件时提示:

Method Not Allowed

The requested method POST is not allowed for the URL /cgi-bin/blast.cgi.<

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