Home  >  Article  >  Backend Development  >  zendframework1.12控制器只得访问默认页面

zendframework1.12控制器只得访问默认页面

WBOY
WBOYOriginal
2016-06-13 12:49:23757browse

zendframework1.12控制器只能访问默认页面。
127.0.0.1/index/index可以访问,127.0.0.1/index/test就提示An error occurred
Page not found;apache中的httpd文件的根目录该了的,REWRITE也开了的,DIRETORY也设置了的,所有的AllowOverride都改了的,indexcontroller就自定义了一个方法testAction(){echo "abc";}
编译器ZEND_STUDIO 9.04,php环境是XAMPP,请大牛们指教,折腾了一晚上了。


------解决方案--------------------
完整错误信息发上来看看。
还有controller代码
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn