Apache 2.4错误403禁止从本地网络访问

时间:2019-07-13 12:25:58

标签: apache

当我尝试从本地IP地址访问Alias目录时,出现错误403 Forbidden。如果尝试覆盖apache conf目录中的httpd-alias.conf文件以允许本地IP地址,则当我重新启动Apache服务器时,该文件将被覆盖。


Alias "/edsa-local" "C:/Users/Fabio/Desktop/local"
Directory "C:/Users/Fabio/Desktop/local"
    Options FollowSymLinks Indexes ExecCGI
    AllowOverride All
    Order deny,allow
    Allow from 127.0.0.1
    Deny from all
    Require all granted
/Directory

0 个答案:

没有答案