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.
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.