default route not working on linux

General discussion on Zend Studio
Post Reply
avi9726
Posts: 4
Joined: Mon Feb 13, 2017 4:06 pm

default route not working on linux

Post by avi9726 » Wed Mar 01, 2017 3:38 pm

the following link on my local machine (Windows 10 / XAMPP) works fine: /index/privacypolicy .
But on production (ubuntu) I get the following message:
Not Found
The requested URL /index/privacypolicy was not found on this server.
I have set AllowOverride All in the config file. Still doesn't woirk.

My IndexController has 2 functions:

Code: Select all

    public function indexAction()
    {
        $this->view->page = 'home';
    }

    public function privacypolicyAction()
    {
        $this->view->page = 'privacypolicy';
    }
home works.
privacypolicy doesn't.

Any help appreciated.

Thanks

avi9726
Posts: 4
Joined: Mon Feb 13, 2017 4:06 pm

Re: default route not working on linux

Post by avi9726 » Wed Mar 01, 2017 4:44 pm

FWIW - I'm working on Apache 2.4.7

sach7298
Posts: 3
Joined: Thu Apr 19, 2018 10:37 am

Re: default route not working on linux

Post by sach7298 » Thu Apr 19, 2018 10:38 am

avi9726 wrote:FWIW - I'm working on Apache 2.4.7
Yeah it's really working on apache 2.4.7

Post Reply