【发布时间】: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
我该如何解决这个问题??
【问题讨论】: