ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

No Input File Specified

August 03, 2011 9:04pm

Subscribe [2]
  • #1 / Aug 03, 2011 9:04pm

    jeramiah

    301 posts

    This thread might be related to the following threads:

    http://ellislab.com/forums/viewthread/151342/

    http://ellislab.com/forums/viewthread/195121/

    http://ellislab.com/forums/viewthread/192199/

    Essentially, we moved from a windows box on godaddy to a linux box.  That’s when we got “No File Specified” on every single page except the home page.  I have followed the other threads to no avail.  Apparently when they moved our site over they didn’t copy the .htaccess file with it and now I have to recreate it.  Only it’s not that simple.  Nothing I do is working. 

    This may be a simple fix but I’m unsure how to format the .htaccess file so that it works again.  Any help on this would be greatly appreciated!!!

    We’re running EE 1.6.9 Build:  20100430.  We have purchased the upgrade to 1.7.1 but I haven’t installed it yet.  Could that also fix the issue?

  • #2 / Aug 03, 2011 9:13pm

    jeramiah

    301 posts

    Well I used this in my .htaccess file and it worked:

    RewriteEngine On
        # Removes index.php
        RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php?/$1 [L]

    producing this string: http://www.mysite.com/index.php?/site/template/

    because I have also enabled “Forcing Query Strings” in the control panel.

    The path should be http://mysite.com/index.php/site/template

    but it’s producing http://mysite.com/index.php?/site/template

    not crazy about the “?” being there… but it works.  How can I remove that?

  • #3 / Aug 04, 2011 11:33am

    Sue Crocker

    26054 posts

    Hi, jeramiah.

    You’d instead totally remove the index.php? via .htaccess, not the ? part of things. Sounds like you’re OK now though. If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases