• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Route Everything, Except These Controllers PROBLEM

#1
[eluser]nuclearmaker[/eluser]
Code:
$route[default_controller'] = "welcome";
$route['^(?!welcome)\S*'] = "page/view/$0";

this code right now, its work just fine for http://localhost/welcome and http://localhost/anything_i_put

but, its show 404 error page if http://localhost/welcomes , http://localhost/welcomez and all if i add after "/welcome"

any idea guys?


Messages In This Thread
Route Everything, Except These Controllers PROBLEM - by El Forum - 09-26-2011, 02:12 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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