Now you should be able to access the application using the URL `http://localhost/yii-basic/web/`,
Now set document root directory of your Web server to /path/to/yii-application/web and you should be able to access the application using the URL `http://localhost/`.
assuming `yii-basic` is directly under the document root of your Web server.