conf -> httpd.conf下设置成
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm
</IfModule>
conf -> httpd.conf下设置成
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm
</IfModule>
转载于:https://www.cnblogs.com/siichen/p/5204072.html