Thanks Victor. I was able to solve the problem using mod_rewrite module. I think it wasn't installed before. After installing, I set the AllowOverrid value to "All" in the 000-default file under sites-enabled directory.
Thanks again for your help. Regards, Praveen Victor Farazdagi-2 wrote: > > Praveen, > Were you able to access the default controller? Specifically, is > http://mylocalhost is accessible (generally local hosts are > http://localhost, but of course you can configure it to whatever you > want). Plus, did you put mod_rewrite directions into your .htaccess file? > > > > pyarlagadda wrote: >> Hi, >> >> I am new to Zend framework and I have this problem. >> >> I used zf.sh to create a project and there is a file IndexController.php >> located under Controllers directory. I created a different file >> TestController.php under the same directory and there is indexAction() >> method in it. I have also created views/scripts/test/index.phtml. When I >> try >> to access the link - http://mylocalhost/test/index, I get 404 message. Is >> there any way I can access this link from the browser? I am stuck at >> this. >> >> Can somebody please help me out? >> >> Regards, >> Praveen >> > > > -- > Victor Farazdagi > > UMapper / CrabDish LLC > 7350 E. Progress Place, Suite 212 > Greenwood Village, CO 80111 > USA > > http://www.umapper.com > http://www.afcomponents.com > > > -- View this message in context: http://www.nabble.com/Can%27t-access-a-non-default-controller-tp25056677p25070248.html Sent from the Zend Framework mailing list archive at Nabble.com.
