开发者

What should I configure when I put Zend project on windows to Ubuntu Lamp?

What should I configure when I put Zend project on windows to Ubuntu Lamp? (I asking that beacause my Zend progect not working on Ubuntu, its gives first pages, but after i enter to next page its gives me 404 error(page Not Found), I check if rewrite mod enable with : sudo a2enmod rewrite and get: Module rewrite already enabled ::: I dont have开发者_开发问答 such probelm on Zend Ce and Wamp servers on Windows). Thanks, Yosef


It almost sounds like the .htaccess file is not being taken into account. As a test you could try route this through index.php manually such as:

http://localhost/controller/action -> http://localhost/index.php/controller/action

This might help to narrow it down.


Double-check your class file names. Windows is a little more forgiving on case-sensitivity issues. It's quite easy to break an application written on a PC and transferred to a LAMP box with the wrong camel-casing on class files. I learned that the hard way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜