Hello,
I have set up the minScript extension that works well and I just started the URL rewriting.
When using the option ‘showScriptName’=>false, my websites cannot find the script and css minimized by minScript anymore.
Both my URL rewriting and the minScript extension seem to work fine independently but I can’t get them to work together, can’t figure out why.
The action ExtMinScriptController > actionServe is usually called but not in the case of the 2 working toghether. Here is the interesting part of my my config file :
'clientScript'=>array(
'class'=>'ext.minScript.components.ExtMinScript',
),
'components'=>array(
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
'rules'=>array(
'userPage/<idUser:\d+>'=>'user/userPage',
'userPage/<username:\w+>'=>'user/userPage',
'inbox/<username:\w+>'=>'message/inbox',
'validateEmail/<validationCode:\w+>'=>'user/validateEmail',
'<action:(searchUser|myProfile|myPictures|register|resetPassword|logout)>' => 'user/<action>',
'<action:(index|contact)>' => 'site/<action>',
'<action:(inbox)>' => 'message/<action>',
),
),
),
'controllerMap'=>array(
'min'=>array(
'class'=>'ext.minScript.controllers.ExtMinScriptController',
),
),
Anyone has the same problem ?