default route not working on linux

General discussion on Zend Studio

default route not working on linux

Postby avi9726 on 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

Postby avi9726 on Wed Mar 01, 2017 4:44 pm

FWIW - I'm working on Apache 2.4.7
avi9726
 
Posts: 4
Joined: Mon Feb 13, 2017 4:06 pm


Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 4 guests

cron