Request Url And Php Cgi

Hi, I’m using a gateway with grunt to livereload my PHP files and do different automated task. My problem is that all the CActiveForms returns index.php in the action Url. I already echo Yii::app()->request->url in this url “http://localhost:9000/index.php?r=site/page&view=about” and Yii retuns only ‘/index.php’. Can’t I use Yii with a vitual server and PHP-CGI?

Thanks in advice for your help.