wampserver 局域网可访问

打开httpd-vhost.conf

<VirtualHost *:80>
ServerName www.pl.me
DocumentRoot "${INSTALL_DIR}/www/blog_pl"
<Directory "${INSTALL_DIR}/www/blog_pl/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

把Require local改成

Require all granted

如果没有就加进去。

猜你喜欢

转载自www.cnblogs.com/iasnsqt/p/9238051.html