-1

I just uploaded my site to my godaddy server but there is an error of No input file specified.
I google this a lot any got a reason of this must be .htaccess file code .

I don't know what is it. how it works. here is my code of htaccess file

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>

how i can solve this problem? plz help i am new to this type of coding. Any help is appreciated. if possible link the simplest .htaccess coding tutorial....

Anonymous
  • 297
  • 1
  • 4
  • 13

1 Answers1

-1

Use This

<IfModule mod_rewrite.c>

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php/?$1 [QSA,L]

</IfModule>
asprin
  • 9,579
  • 12
  • 66
  • 119
Ashish
  • 332
  • 1
  • 8