Welcome Guest, Not a member yet? Register   Sign In
Querystring problem with CodeIgniter in GatorHost

Hi everyone.

I've written a code that can correctly parse this URL:

Yet on HostGator, i get a 404 (codeigniter 404). When I remove "http://" from "http://someplacement.site/sub/dir", it works fine.

My current .htaccess (located in the domain folder, not in "public_html"
<IfModule mod_rewrite.c>
    DirectoryIndex index.php
        RewriteEngine on
        RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]


<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php

and my URI_protocol in config is set to "REQUEST_URI".

Anyone have any idea how to fix this? That "http://" in the query string is somehow confusing codeigniter (btw, this works fine on my local machine)

Theme © iAndrew 2016 - Forum software by © MyBB