Revision #5 has been created by qiang on Oct 20, 2012, 11:37:32 AM with the memo:
« previous (#4)
in secure and nonsecure pages
In the above code, we configure `UrlManager` to secure the login, sign-up and settings pages. If you want to secure other pages, just add the corresponding routes to the `secureRoutes` array shown above.
We can now use `Yii::app()->createUrl()` as usual in places where we need to create URLs. Our `UrlManager` will automatically determine if the generated URLs need to be prefixed with proper host info. The `UrlManager` will also do the 301 redirection work if needed.