• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Routing works on MAMP NOT LAMP

#1
[eluser]andyscraven[/eluser]
I am having a weird issue with routing as follows when I try and go to the homepage of a domain. All other paths work fine.

$route['default_controller'] = "Home";
$route['404_override'] = '';

The Controller is called Home.php.

works fine on MAMP but when I copy it across to my server I get a weird page from Cloudflare saying:

The page you are looking for cannot be found.


If I put:

$route['404_override'] = 'Home';

it goes to my home page fine. I am wanting to send all unknown urls to a 404 page.

On MAMP it works exactly as it should with the 404_override empty.

Any ideas?

Thanks everyone.


Messages In This Thread
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 09:13 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 10:14 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 10:26 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 10:43 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 10:47 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 11:02 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-15-2014, 11:10 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-16-2014, 06:09 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-16-2014, 09:15 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-16-2014, 09:27 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-17-2014, 05:40 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-18-2014, 02:05 PM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-18-2014, 04:49 PM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-18-2014, 05:38 PM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-18-2014, 05:40 PM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-18-2014, 07:02 PM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-19-2014, 02:53 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-19-2014, 05:06 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-20-2014, 05:01 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-20-2014, 05:10 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-20-2014, 05:11 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-20-2014, 05:30 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-20-2014, 05:39 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-20-2014, 04:43 PM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-21-2014, 03:20 AM
CodeIgniter Routing works on MAMP NOT LAMP - by El Forum - 10-21-2014, 06:26 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.