How to install zend framework 2 in ubuntu + mod_rewite + ubuntu 12.04

I installed zf2 skeleton application some modules like zfcuser and zfcBase from and I installed it successfully in my local at the end I ran but I found simple 404 not found error not zend framework one so I did a research there are lot of people are showing about to make virtual host but I want to run it in simple way not with social way also I made a change in /etc/apache2/sites-eanbled/000-default. and also I loaded mod_rewite successfully.

and it makes me suspicious with mod_rewrite though it shows me enabled after restart apache…

I put .htacess file in root file in this way

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^.*$ index.php [NC,L]

and if I run localhost/zend/index.php it also throws 404 not found simple browser way error.

but if I run localhost/zend/public it loads application module.

really I got a headache with this why it is too much complicated then older zend.

Please let me know the proper solution and can ask more if any one not getting my point.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.