10-30-2009, 04:19 AM
[eluser]huzzel[/eluser]
Hy,
i try to to change
http://127.0.0.1/controler/function/id
to
http://127.0.0.1/function/id
If the controler not exists i would like to route all data to my standardcontroller.
My first attempt was in routes.php
$route['(:any)'] = "standardcontroler/$1";
but it not work :-(
EDIT...
Lol solved by my self
$config['index_page'] = "index.php";
$config['index_page'] = "";
and mod_rewrite on now it works fine :-)
Hy,
i try to to change
http://127.0.0.1/controler/function/id
to
http://127.0.0.1/function/id
If the controler not exists i would like to route all data to my standardcontroller.
My first attempt was in routes.php
$route['(:any)'] = "standardcontroler/$1";
but it not work :-(
EDIT...
Lol solved by my self
$config['index_page'] = "index.php";
$config['index_page'] = "";
and mod_rewrite on now it works fine :-)