Welcome Guest, Not a member yet? Register   Sign In
Codeigniter and GoDaddy Hosting
#1

[eluser]FabienO[/eluser]
I know there's already threads on this, and trust me I have read/tried every one of them. I have also looked at http://codeigniter.com/wiki/Godaddy_Installaton_Tips/ too. But I am still getting a 404. One thing to note I am not using the site's root I am using www.FabienO.com/wb/<codeigniter here>. Dunno how this affects it, I have also tried it all on the sites root, but can't get past the 404.

Can anyone help me go my site working in GoDaddy hosting?

Code:
.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /wb/index.php?$1 [L]
Code:
config.php

$root = "http://".$_SERVER['HTTP_HOST'];
$root .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
$config['base_url']    = "$root";

$config['index_page'] = "index.php?";
$config['uri_protocol']    = "QUERY_STRING";


What else can I do? Any help would be greatly appreciated. This works perfectly fine in XAMPP btw.


Messages In This Thread
Codeigniter and GoDaddy Hosting - by El Forum - 10-30-2010, 10:42 AM
Codeigniter and GoDaddy Hosting - by El Forum - 10-30-2010, 01:48 PM
Codeigniter and GoDaddy Hosting - by El Forum - 10-30-2010, 03:34 PM
Codeigniter and GoDaddy Hosting - by El Forum - 10-30-2010, 05:26 PM
Codeigniter and GoDaddy Hosting - by El Forum - 10-31-2010, 04:07 AM
Codeigniter and GoDaddy Hosting - by El Forum - 10-31-2010, 04:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB