[eluser]olof84[/eluser]
I am not sure how that answers my question.
Perhaps I should specify my question better. How can CI can read a URI with PHP, and direct it to specific files?
For example, if I write the URI mysite.com/blog/article/5 a normal webbserver domain without moderewrite will try to find a folder called blog; which should have an subfolder called article. But CI projects do not seem to be built this way. CI seem to redirect the URI to specific files, just like the PHP layer moderewrite does. But how CI do it without moderewrite puzzles me.
EDIT: Maybe I got it now, correct me if I am wrong. It seems like my webbrowser begin by reading index.php, no matter what I write after index.php/. So by first reading index.php CI can check what the following segments are, and then redirect the user to the right file.