CodeIgniter Forums
[SOLVED sort of] GoDaddy not able to find my files - 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: [SOLVED sort of] GoDaddy not able to find my files (/showthread.php?tid=23825)



[SOLVED sort of] GoDaddy not able to find my files - El Forum - 10-22-2009

[eluser]bobbob[/eluser]
I have seen a couple of others having this issue with GoDaddy.
Go Daddy can see my Home page as it is set in the routes.php but every other page it can't find.

What are they up to and does anyone know a solution?


[SOLVED sort of] GoDaddy not able to find my files - El Forum - 10-22-2009

[eluser]Unknown[/eluser]
I have a CodeIgniter app running under a GoDaddy account. I don't have the settings in front of me at the moment but I had the same issue and had to change the URI PROTOCOL setting in CONFIG.PHP. I'm pretty sure I set it to: $config['uri_protocol'] = "ORIG_PATH_INFO";


Steve


[SOLVED sort of] GoDaddy not able to find my files - El Forum - 10-22-2009

[eluser]bobbob[/eluser]
I found this in the wiki:
Code:
$config['index_page'] = "index.php?";
$config['uri_protocol'] = "QUERY_STRING";

http://codeigniter.com/wiki/Godaddy_Installaton_Tips/

It worked for me as the site I just did was an very basic site with about 5 links.
A real site would have been a nightmare.

Won't allow any of my clients to use GoDaddy from now on.


[SOLVED sort of] GoDaddy not able to find my files - El Forum - 10-28-2009

[eluser]Roger Glenn[/eluser]
<rant>
Godaddy is the bane of my existence... the only thing they have going for them is Danica Patrick and a few other pretty girls.
</rant>

I got this to work by using "REQUEST_URI" for the uri_protocol in config.php

Code:
$config['uri_protocol']    = "REQUEST_URI";