[eluser]Unknown[/eluser]
I want to remap or routing this url:
Code:
/local host/ mysite / controller / method / param1
to this
local host / mysite / param1
********************************************
codeigniter:2.0.2
--------------------------------------------
routes:
$route['default_controller'] = "controller";
--------------------------------------------
.htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) mysite/index. php ?/ $1
---------------------------------------------
config:
$config['base_url'] = 'local host / mysite /';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
----------------------------------------------------
Can i do that? please help me!