时间:2021-07-01 10:21:17 帮助过:21人阅读
httpd.conf文件内可添加端口
例如:
Listen 0.0.0.0:8080
Listen [::0]:8080
httpd-vhosts.conf文件设置多个站点
设置了Require all granted才可被外网访问
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp/www
<Directory "c:/wamp/www">
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all
AllowOverride All
Require all granted
</Directory>
</VirtualHost>以上就是wampserver如何配置php网站多站点的详细内容,更多请关注Gxl网其它相关文章!