CodeIgniter Forums
htaccess issues - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: htaccess issues (/showthread.php?tid=59730)



htaccess issues - El Forum - 11-09-2013

[eluser]jswat[/eluser]
Hello,
I'm having issues getting CodeIgniter to work on GoDaddy. I am receiving "no input file specified" on any page other than the index. I HAVE searched the forums and have tried every possible solution that was listed, but I still can't get it working. So, some more details on my setup and the issues I'm having.

It's a linux GoDaddy hosting account.
The CodeIgniter install is in a subdirectory. The main directory has a WordPress install.
Here is my .htaccess file code for the subdirectory that CI is installed in:
Code:
RewriteEngine On                
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]

Right now I have $config['index_page'] set to 'index.php'
I also have $config['uri_protocol']= 'QUERY_STRING';

I have tried it as auto as well to no avail.

I know GoDaddy is terrible, but I have no choice right now in the matter.

Thanks in advance for any help!




htaccess issues - El Forum - 11-09-2013

[eluser]jswat[/eluser]
Also when trying to access a URL like http://www.myexample.com/codeigniter/index.php/controller

If I change the / after index.php to a ?, it seems to work fine. However, I would prefer not to do it that way.


htaccess issues - El Forum - 11-10-2013

[eluser]Tpojka[/eluser]
codeigniter htaccess godaddy // the way I've googled it.