404 Not Found

Hi, i have uploaded my application in the server… After uploading in the server, i can only view www.domain.com/index.php. I cant go to any other pages. Please help me. :( Link

did you configured your server properly? is your sever is nginx? then configure your server like here you need to configure nginx server to use url rewriting. your server work well if I browse through index.php?r=controller/action

And one more thing is how to remove the index.php in the url? and where i have to change the server configurations?

First of all, check that you have

'urlManager' => array(

    'showScriptName' => false,

    'urlFormat' => 'path',



in your config file (protected/config/main.php)

yes. i have added


now only the index file is working fine.

remaining files are not opening

Not Found

The requested URL /test/news/index was not found on this server.

And, whether I want to make any changes in the Nginx server or its not necessary.

Check if


exists in php.ini, and add one if not.

(regards to samdark)

Thanks fro the reply…

By default cgi.fix_pathinfo=1, I have changed as the cgi.fix_pathinfo=0.

Now also the same

404 Not Found


error returns…

Edit: Thanks all. I have got it by changing the settings in the server file.