【问题标题】:Why Getting Permission denied on HTTPS on WAMP Server?为什么在 WAMP 服务器上的 HTTPS 上获得权限被拒绝?
【发布时间】:2021-11-02 00:54:26
【问题描述】:

我使用以下链接在 wamp 服务器上设置 HTTPS:

How to enable https (localhost) url in WAMP server (v2.5)?

这是我的 httpd-vhosts.conf:

# Virtual Hosts
#
<VirtualHost *:80>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "${INSTALL_DIR}/www"
  <Directory "${INSTALL_DIR}/www/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    **Require all granted**
  </Directory>
</VirtualHost>

但是当我从另一台机器上浏览它时,我收到以下错误:

Forbidden

You don't have permission to access this resource.
Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.12 Server at 192.168.1.141
Port 443

我该如何解决这个问题??

【问题讨论】:

    标签: https wamp lan


    【解决方案1】:

    经过反复试验和实际搜索,我找到了作为解决方案的打击配置(httpd.conf):

    <Directory "c:/wamp/www">
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
    </Directory>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-11-02
      • 2014-01-16
      • 2015-12-01
      • 2021-03-04
      • 2018-08-04
      • 2020-01-03
      • 1970-01-01
      相关资源
      最近更新 更多