No input file specified, all of a sudden
Permalink
I've had a concrete5 install since January, this week we started to get "No input file specified" messages.
The site works fine on the whole, its just login and file downloads which are affected. I have a hunch its something to do with the .htaccess file. I have pretty URL's turned on and concrete is running from a subdirectory.
Directory structure:
http://www.example.com/PageTitle
The login page is accessible but you get the error when visiting the do_login page (it seems to add in /index.php which I think might be a clue).
www.www.example.com/index.php/login/do_login...
My .htaccess file:
The site works fine on the whole, its just login and file downloads which are affected. I have a hunch its something to do with the .htaccess file. I have pretty URL's turned on and concrete is running from a subdirectory.
Directory structure:
http://www.example.com/PageTitle
The login page is accessible but you get the error when visiting the do_login page (it seems to add in /index.php which I think might be a clue).
www.www.example.com/index.php/login/do_login...
My .htaccess file:
# -- concrete5 urls start -- <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] </IfModule> # -- concrete5 urls end --
Change the last line of your .htaccess file
No change sadly. I've tried playing about with a few different RewriteRules, some break it completely, but none so far have resolved the issue.
Turning pretty URL off does solve your problem?
I've not tried, Its a live site so not an option unfortunately.
Its been a fair while now sadly my site is still un-editable as the login page doen't work any more. I kinda need a fix now, any suggestions greatly appreciated.