No input file specified. in Codeignitter

I am working on a project with codeigniter. Everything is fine in my local machine. But when I upload it to my live server it show an error

No input file specified.

I dont know where is the fault.

here is my .htaccess

RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^134\.17\.135\.115
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{DOCUMENT_ROOT}/maintenance.enable -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /maintenance.html [R=503,L]
ErrorDocument 503 /maintenance.html
#Header Set Cache-Control "max-age=0, no-store"

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

and in config.php

I set uri_protocol is AUTO

Can anyone help?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s