I am developing a system using Yii framework. This application is available in 3 enviroments(Development, Intranet and Extranet). In the two first enviroments the application works fine. In the Extranet, the application is acessed by https:://aplic.mybusiness.com/application, however, this address just redirect to Intranet’s environment (http://application.mybussines.com). This way, the yii framework is generating links and form’s action based in the intranet’s address.
I changed the basePath content and it doesn’t work … I guess that this parameter is about the folder where the application is stored … because, i did print_r(Yii::app()->basePath) and it displays:
Yes, your right, my fault. I think, reading your opening post the second time, that this problem is caused by the way you redirect in the beginning. Having a look at our config, url’s are being created the correct way (including the app name path) whenever pages are loaded from that directory. You could create app-specific url rules or write your custom url manager but the best thing might be to figure out how to redirect the correct way.