default route not working on linux
Posted: 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:
My IndexController has 2 functions:
home works.
privacypolicy doesn't.
Any help appreciated.
Thanks
But on production (ubuntu) I get the following message:
I have set AllowOverride All in the config file. Still doesn't woirk.Not Found
The requested URL /index/privacypolicy was not found on this server.
My IndexController has 2 functions:
Code: Select all
public function indexAction()
{
$this->view->page = 'home';
}
public function privacypolicyAction()
{
$this->view->page = 'privacypolicy';
}
privacypolicy doesn't.
Any help appreciated.
Thanks