Just a note: If you have to use IIS and CakePHP together, however, you don’t have any privileges to the setting on production server, especially on shared hosting server, this is for you.
Just uncomment this line
//Configure::write('App.baseUrl', env('SCRIPT_NAME'));
And change to
Configure::write('App.baseUrl', env('SCRIPT_NAME')."?");
And the url will become pretty, at lease not ugly.
/context/index.php?/controller/action/param1/param2
Version: 1.2.x
