相关疑难解决方法(0)

Apache2:'AH01630:服务器配置拒绝客户端'

尝试通过浏览器访问localhost时出现此错误.

AH01630: client denied by server configuration
Run Code Online (Sandbox Code Playgroud)

我使用以下方法检查了我的站点文件

sudo chmod 777 -R *
Run Code Online (Sandbox Code Playgroud)

这是我的配置文件:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /home/user-name/www/myproject
<Directory />
    Options FollowSymLinks
    AllowOverride all
    Allow from all
</Directory>

<Location />
  Allow from all
  Order Deny,Allow
</Location>

<Directory  /home/user-name/www/myproject/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
    AllowOverride all
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, …
Run Code Online (Sandbox Code Playgroud)

apache2 apache2.4 server

417
推荐指数
8
解决办法
61万
查看次数

标签 统计

apache2 ×1

apache2.4 ×1

server ×1