Page 1 of 1

default route not working on linux

Posted: Wed Mar 01, 2017 3:38 pm
by avi9726
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

Re: default route not working on linux

Posted: Wed Mar 01, 2017 4:44 pm
by avi9726
FWIW - I'm working on Apache 2.4.7

Re: default route not working on linux

Posted: Thu Apr 19, 2018 10:38 am
by sach7298
avi9726 wrote:FWIW - I'm working on Apache 2.4.7
Yeah it's really working on apache 2.4.7

Re: default route not working on linux

Posted: Fri Sep 21, 2018 8:58 pm
by sach7298
sach7298 wrote:
Thu Apr 19, 2018 10:38 am
avi9726 wrote:FWIW - I'm working on Apache 2.4.7
Flipkart Coupons
Yeah it's really working on apache 2.4.7