No input file specified - failed to call rewrite url header (hosted on Godaddy) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: No input file specified - failed to call rewrite url header (hosted on Godaddy) (/showthread.php?tid=8646) |
No input file specified - failed to call rewrite url header (hosted on Godaddy) - El Forum - 05-25-2008 [eluser]life_time_learner[/eluser] Hi, I have a file called media_share.php and inside it, I have these <?php class Media_Share extends Controller { function Media_Share() { parent::Controller(); $this->base_css = $this->config->item('base_css_folder'); $this->base_image = $this->config->item('base_image_folder'); } function index() { $data['base_css'] = $this->base_css; $data['base_image'] = $this->base_image; $this->load->view('media_share/index.php',$data); } } ?> And this page work fine if I set it as a default page in router.php, but if I use the other page as default page and call this page like http://www.mywebsite.com/index.php/media_share/ I got No input file specified. I have put <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [QSA,L] </IfModule> in my .htaccess file no luck I have tried AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] no luck. Any more solution. Thanks a million in advance. No input file specified - failed to call rewrite url header (hosted on Godaddy) - El Forum - 06-03-2008 [eluser]life_time_learner[/eluser] I finally find a solution for Godaddy's problem with Google search you can solve this by adding Options -MultiViews in .htaccess file for more detail http://forums.pligg.com/installation-upgrade-help/9711-solution-no-input-file-specified.html |