欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

WAMP 安装 wordpress 后,操作提示 Forbidden: You don't have permission to access / on this server

程序员文章站 2022-03-15 22:36:48
...

1、如下图打开Apache 的httpd.conf配置文件
WAMP 安装 wordpress 后,操作提示 Forbidden: You don't have permission to access / on this server
2、找到如下内容,大概240行,更改为下面这样,重启wamp即可。

    #
    # Deny access to the entirety of your server's filesystem. You must
    # explicitly permit access to web content directories in other
    # <Directory> blocks below.
    #
    <Directory />
    #    AllowOverride none
    #    Require all denied
        Options Indexes FollowSymLinks
        AllowOverride  None
        Order allow,deny
        Allow from all
    </Directory>