No Input File Specified Yii

i have hosted my site in godaddy shared linux hosting and my .htaccess file contains

<IfModule mod_rewrite.c>

RewriteEngine On


RewriteBase /


RewriteCond %{REQUEST_FILENAME} &#33;-f


RewriteCond %{REQUEST_FILENAME} &#33;-d


RewriteRule ^(.*)&#092;?*&#036; index.php/&#036;1 [L,QSA]

</IfModule>

and main.php file cointains

‘urlManager’=>array(

'urlFormat'=&gt;'path',y 'showScriptName'=&gt;false,


'rules'=&gt;array(                


'&lt;controller:&#092;w+&gt;/&lt;id:&#092;d+&gt;'=&gt;'&lt;controller&gt;/view',


'&lt;controller:&#092;w+&gt;/&lt;action:&#092;w+&gt;/&lt;id:&#092;d+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',


'&lt;controller:&#092;w+&gt;/&lt;action:&#092;w+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',


		),


	),

my home page is loading correctly but when i click in any link i am getting a "no input file specified" error

i hosted the same website in website.org and there its working properly.

what should i do to make the site work on godaddy.

I am not sure, but you could test by remove one of them

RewriteRule ^(.)\?$ index.php/$1 [L,QSA]

or

‘showScriptName’=>false,

check both of them

This sounds a bit like an nginx error … could you perhaps show us the complete and exact error message? Otherwise, you might find this thread helpful.

Edit: Check this thread as well. This might actually be the solution to your problem as the error message is the exact same you are getting.

got the work finished thanks to Da:Sourcerer and KonApaz.

My .htaccess file is:

RewriteEngine on

if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

otherwise forward it to index.php

RewriteRule ^.*$ /index.php? [L]

and main.php is:

‘urlManager’=>array(

‘urlFormat’=>‘path’,

‘rules’=>array(

‘<controller:\w+>/<id:\d+>’=>’<controller>/view’,

‘<controller:\w+>/<action:\w+>/<id:\d+>’=>’<controller>/<action>’,

‘<controller:\w+>/<action:\w+>’=>’<controller>/<action>’,

),

),