Search code examples
phpcodeigniter-2fastcgi

iPage "No input file specified." on /admin page


I'm having this problem my app which is build in codeigniter 2.14 was working fine in my localhost using xammp but when i migrated it to my hosting server which is iPage.com i can no longer access my dashboard it prompts a No input specified error.

Options +FollowSymlinks -MultiViews -Indexes

<IfModule mod_rewrite.c>

 RewriteEngine on
 RewriteBase /

 # If the user types "index.php" or "admin.php".
 RewriteCond $1 !^(index\.php|admin\.php|images|robots\.txt)

 # If the user types just "admin".
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^admin$ admin\.php [L,QSA]

 # If the user enter in any admin section, like "admin/section".
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^admin\/(.*)$ admin\.php/$1 [L,QSA]

 # If the user types any site section, like "site/section".
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index\.php/$1 [L,QSA]

</IfModule>

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>

Solution

  • fixed this using cgi bin on my root folder