【发布时间】:2017-07-10 09:40:36
【问题描述】:
当我通过 .htaccess DirectoryIndex 创建主页时
作为DirectoryIndex landing/index.php,网站首页变成了landing/index.php
但是所有子目录都有 403 错误,例如^ /blog 仅在您编写时不起作用:/blog/index.php。我临时解决了在每个子目录中添加 .htaccess 文件的问题:DirectoryIndex index.php。
【问题讨论】: