Url Rewriting

I have hidden index.php from the url of my application using .htaccess file

and my config.php file looks like this:






Now when i am writing a code for opening any controller’s action passing id along with it,then the id passed is treated as an action.


then it is giving me a link as


Thanx in advance.!!

Check out the CUrlManager.appendParams property.