PHP zend framework框架 The requested URL /2/public/i

发布时间:2021-02-24 06:55:57

PHP zend framework框架 The requested URL /2/public/index was not found on this server.初学zend framework,框架是用zend studio生成的,按照书上说:输入应该是等效的,但为什么我输入https://localhost/2/public/能正常显示,但其他2个就都说The requested URL

网友回答

应该是mod_rewrite没有启用,检查一下httpd.conf配置文件.
同时把虚拟主机配置文件中的AllowOverride None改为AllowOverride All
重启apache.
以上问题属网友观点,不代表本站立场,仅供参考!