title: how to rewrite url in Yii?
body: <p>I have an action named contact in the site controller, so when I open it in the browser, the url displayed as: <code>mysite.com/index.php/site/contact</code>, I want to change it to be just the view name of the action, so it should be <code>mysite.com/contact.php</code>, how to do that ?</p>