fgdfg 发表于 2018-11-20 08:53:29

王高利:apache__configuration error: couldn’t perform authentication. AuthType not s

  apacheb版本:

# httpd -v
Server version: Apache/2.2.31 (Unix)
Server built:   Apr 10 2016 18:08:35  错误日志信息:
tail -f ../../logs/web1-host.example.com-error_log
configuration error:couldn't perform authentication. AuthType not set!: /
configuration error:couldn't perform authentication. AuthType not set!: /
configuration error:couldn't perform authentication. AuthType not set!: /
configuration error:couldn't perform authentication. AuthType not set!: /
configuration error:couldn't perform authentication. AuthType not set!: /  原因:

# cat /usr/local/httpd/conf/extra/httpd-vhosts.conf | head -33 | tail -7

      Options Indexes FollowSymlinks MultiViews
      AllowOverride AuthConfig
      Require all granted ##属于2.4.X版本
      Order allow,deny
      Allow from all

#  解决方法:
# cat /usr/local/httpd/conf/extra/httpd-vhosts.conf | head -33 | tail -7

      Options Indexes FollowSymlinks MultiViews
      AllowOverride AuthConfig
      #Require all granted #注释或删除掉
      Order allow,deny
      Allow from all

#  




页: [1]
查看完整版本: 王高利:apache__configuration error: couldn’t perform authentication. AuthType not s