How Should I Modify The Routing, If The Index.php Is Placed In The Root Dir

Hi,

Are there any solutions the Yii can work if the index.php is in the root dir and not in the web folder?

I have a problem with the hosting… the hosting company cannot set default the web folder as the base folder (like in the virtual hosts), and I cannot acces the subfolders only the index.php in the root!

So I have to use their public_html file… So I have to copy every file here, but I have to place the index.php here too. But after the Yii won’t work… I tried to figure out which will be the solution, but nothing.

All you need to do is modify paths in index.php to match your current folder config.

Yes and there were other todos :) But I did it.