I'm using Framework
Yii
and need to create URLs
friendly.
URL Example: http://meudominio.com/meuControle/minhaView
That is Equivalent to: http://meudominio.com/index.php?r=meuControle/minhaView
No config/main.php
enabled:
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
),
But when I try to access some page using the Friendly URL, I have the following return:
404 Not Found
nginx / 1.4.6 (Ubuntu)
How do I resolve this?