I have deployed the basic sample yii app in to the sub domain ( test.mydomain.com ). Internally test.mydomain.com points to the folder in the hosting server say ‘/root/[color="#FF0000"]test[/color]’
After the deployment, i can see all the css files point to the URL test.mydomin.com/test/css/main.css
How can i configure ‘Yii::app()->request->baseUrl;’, to point directly to my subdomain.
But it is not only for the css files, all the links in my site pre-pended with the folder name ‘test’
‘test’ is nothing but the folder in my hosting under root. and i have copied my sample application to that folder and pointing the test.mydomain.com subdomain to that folder.
I hope i am missing some configuration for these kind of subdomain setup in yii
It would be great if some one get me the solution for this issue