表达式引擎 - 访问禁止问题
每当我在 EE 中创建新模板组时,我都可以访问该模板组的索引文件,如下所示:
http://www .mysite.com/my_template_group/
但是,我正在开发一个项目,如果我使用该链接,我将第一次收到以下错误消息:
您无权访问此目录。
如果我在 url 中包含索引,它就可以正常工作:
http://www.mysite.com/my_template_group/index
什么会导致这种混乱,我该如何解决它?在链接中使用 /index 是不可接受的。
谢谢。
Whenever I have create a new template group in EE I can access that template group's index file as follows:
http://www.mysite.com/my_template_group/
However, I am working on a project and for the first time ever if I use that link I get the following error message:
You do not have permission to access this directory.
If I include the index in the url it works fine:
http://www.mysite.com/my_template_group/index
What would be causing this snafu and how can I resolve it? Using the /index in the link is unacceptable.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的网站根目录中是否恰好有一个与模板组同名的空文件夹?
You don't just happen to have an empty folder in your site root with the same name as your template group?