Welcome Guest, Not a member yet? Register   Sign In
Quick Mod Rewrite / index.php clarification
#1

[eluser]Unknown[/eluser]
Hi there,

Just started using CI and i'm starting to like what it offers.

I have a quick question regarding the mod-rewrite / index.php.

I got it to work on my system (CI 2.0.3, WAMP etc) by implementing:
1) .htaccess
2) setting
Code:
$config['index_page'] = '';

However, i noticed most of my calls, like
Code:
form_open('/task/edit_task'); (

needs to be changed to:
Code:
form_open('index.php/task/edit_task'); (

I'm wondering if:
a) this is normal?
b) whether i can keep the former-style of coding so i don't have to change all of my calls

Any help is appreciated. I couldn't find anything like this in the forums.




Theme © iAndrew 2016 - Forum software by © MyBB