Welcome Guest, Not a member yet? Register   Sign In
htaccess issues
#1

[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!

#2

[eluser]jswat[/eluser]
Also when trying to access a URL like http://www.myexample.com/codeigniter/ind...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.
#3

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




Theme © iAndrew 2016 - Forum software by © MyBB