Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter is not working on Goddady server
#6

[eluser]jamie young[/eluser]
FYI, I just went though this GoDaddy nightmare and got this .htaccess file to work. It was a lot larger since I was adding in everything that I could find that anyone has ever said to make it work. Once I got it working, I started removing entries to see what the minimum needed was, below is what I ended up with. It is important to note I had to remove all GET requests that I was using, converting them all to POST, that and the .htaccess below seemed to be the magic for me to have a CI install working on GoDaddy servers.

Code:
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /

    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
</IfModule>

In my config.php, index_page is blank and uri_protocol is AUTO

BTW, after finding this thread I tried out what wiredesignz linked in comment #3. It is a better solution than what I have above and works just fine on GoDaddy server.


Messages In This Thread
CodeIgniter is not working on Goddady server - by El Forum - 11-11-2008, 09:12 AM
CodeIgniter is not working on Goddady server - by El Forum - 11-12-2008, 08:25 AM
CodeIgniter is not working on Goddady server - by El Forum - 11-12-2008, 11:32 AM
CodeIgniter is not working on Goddady server - by El Forum - 11-13-2008, 03:43 AM
CodeIgniter is not working on Goddady server - by El Forum - 11-14-2008, 03:31 PM
CodeIgniter is not working on Goddady server - by El Forum - 12-16-2008, 06:48 AM
CodeIgniter is not working on Goddady server - by El Forum - 12-16-2008, 08:36 AM
CodeIgniter is not working on Goddady server - by El Forum - 01-08-2010, 02:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB