Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Kohana issue on GoDaddy Shared Hosting

    • 0
    • 1
    • 1
    • 2
    • 0
    • 0
    • 0
    • 0
    • 360
    Comment on it

    Recently while working for a project I faced an issue while making the site live.

    The site was developed with kohana framework and was to be hosted on Godaddy Server (Shared Hosting) and I faced a peculiar issue on the server giving me an error

    No Input File Specified
    

    which was strange as the site was working fine on test server.

    After doing a bit of research I finally managed to find a solution which I am posting here to help.

    Just replace the line

    RewriteRule ^(.*)$ index.php/$1 [PT,L]
    

    in your htaccess file with

    # Rewrite all other URLs to index.php/URL
    RewriteRule ^(.+)$ index.php?kohana_uri=$1 [L]
    

    And this should do the trick.

    Hope it helps and saves the time I spent on the same issue.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: