apache 2.4.23 只能本地訪問,其餘用戶不能訪問,提示You don't have permission to access

這個版本的httpd.conf的配置方法跟原版本的設置不同了。安全

  須要在目錄安全配置中 修改成 Require all grantedui

  好比  把Require local 修改成Require all granted.配置

特別要注意,需將httpd-vhosts.conf中的配置也要一同修改。方法

相關文章
相關標籤/搜索