[Solved] Error 404 Unable To Resolve The Request After I Setted The Url Manager

Hi,

Before I setted the urlManager in the config, my webapp run well! (No errors)

It is very interesting, that After in the config/main.php I setted the URL manager. (.htaccess, not show the index.php)




'urlManager'=>array(

			'urlFormat'=>'path',

			'showScriptName'=>false,

			'caseSensitive'=>false, 

			'rules'=>array(

				'<controller:\w+>/<id:\d+>'=>'<controller>/view',

				'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',

				'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',

			),

		),



But! Now, I got this error:




Error 404

Unable to resolve the request "betsRoundWins/admin".



How can I handle this problem? Is it maybe the problem, that I use UpperCase in my class name? Because at the other classes’ name is only 1 word. And the BetsRoundWins is 3 words.

Hi blaces,




'caseSensitive' => false.



should be the cause of the problem.

http://www.yiiframework.com/doc/api/1.1/CUrlManager#caseSensitive-detail

Yes, you are right :) Thanks.