Welcome Guest, Not a member yet? Register   Sign In
Hostgator routing issue - not solved by REQUEST_URI
#3

[eluser]jdfwarrior[/eluser]
[quote author="gypmaster" date="1250550106"]Hi,

I'm trying a ci install on my hostgator hosting but keep having 404 not found issues. I've searched the forums and gound the stuff about changing the
Code:
$config['uri_protocol']    = "AUTO";
to
Code:
$config['uri_protocol']    = "REQUEST_URI";

still no help though.

Everything sits in a folder called ci on my webhost.

when I type http:www.mydomain.com/ci/ I get the hostgator 404 not found page.

when I type http:www.mydomain.com/ci/index.php I get the ci Page Not found error.

base url is set to
Code:
$config['base_url']    = "http:www.mydomain.com/ci/";

.htaccess is as follows:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

anyone know what I'm doing wrong?

P.S. hostgator say they have

AllowOverride All

set by default for Apache config.[/quote]

You should have no issues just installing CI on Hostgator as I have hosted multiple sites on Hostgator. I just moved system back, outside of the web root, adjust index.php path to reflect that, and kept my app folder in the web root, along with public. Then added htaccess. Mine is a little different..

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?$1 [L,QSA]

Don't know if that is the cause though


Messages In This Thread
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 12:01 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 12:53 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 01:00 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 01:25 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 01:30 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 02:13 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 03:01 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 08-17-2009, 03:07 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 03-05-2011, 04:56 PM
Hostgator routing issue - not solved by REQUEST_URI - by El Forum - 03-06-2011, 10:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB