本地phpstudy部署,访问域名/admin 、域名/wap无法自动跳转对应首页问题
1、如果本地部署完成后,访问后端或者前端 (域名/admin 域名/wap) 不会跳转的相应页面,那么在phpstudy中,找到 设置--配置文件 httpd.conf
2、打开httpd.conf配置文件,找到DirectoryIndex指令,添加或确保有以下配置:
DirectoryIndex index.html index.php
3、如果已经存在,但还是不可以访问,那么在伪静态文件中添加 DirectoryIndex index.html index.php 保存
