【发布时间】:2014-02-05 22:31:52
【问题描述】:
URL http://l o c a l h o s t/HelloZend/public/index.php/artist/ 工作正常,但我不喜欢看到 index.html。 php 放在那里。 如果 URL 是 http://l o c a l h o s t/HelloZend/public/artist/ 那么消息是
未找到 - 未找到请求的 URL /HelloZend/public/artist/ 在这台服务器上。
有什么问题?我已经尝试配置 Apache,但在那种类型的 URL 中,它总是尝试打开文件夹 /a r t i s t / 而不是调用控制器 a r t i s t或 URL 中的任何内容。控制器/动作等情况也是如此。
【问题讨论】:
-
请发布您的 Apache 配置文件。
标签: php url zend-framework