migajek
(Migajek)
1
If I request http://localhost/user/create it works fine. If I request http://localhost/register it throws
It’s under my ‘componens’ section of config.
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName' => false,
'caseSensitive'=>false,
'rules'=>array(
'register'=>'user/create'
),
),
Changing “showScriptName” does apply, so it’s not because of the config not being loaded or something.
Any ideas? Thanks.
jayrulez
(Waprave)
2
did you rewrite your url to remove index.php using .htaccess?
migajek
(Migajek)
3
Not really since I’m using lighttpd.
However the "default" routing
http://localhost/<router>/<method> works fine. Only the rules defined manually causes this error. Moreover it’s not the system 404, it’s Yii’s 404.