array(
'http://<user:\w+>.example.com/<lang:\w+>/profile' => 'user/profile',
)
What needs to be done to get this working?
http://www.yiiframework.com/doc/guide/topics.url
I always get a 404 Error.
array(
'http://<user:\w+>.example.com/<lang:\w+>/profile' => 'user/profile',
)
What needs to be done to get this working?
http://www.yiiframework.com/doc/guide/topics.url
I always get a 404 Error.
What version do you have. In docs it states this is available since 1.0.11.
What do you get when doing:
echo Yii::app()->createUrl('user/profile', array('user' => 'test', 'lang' => 'de'));
I have version yii 1.0.12 here
maybe this is an apache configuration, htaccess problem, however, yii is not affected
the createUrl-Method shows me the expected result
I activated URL-CatchAll in my provider setup
now its working