[eluser]taewoo[/eluser]
Hi everyone.
I've written a code that can correctly parse this URL:
Code:
http://myhostgatoraccount.com/controller/method?account_id=637235&campaign_id=153123&keyword=SOME_KEYWORD&content_search=content&placement=http://someplacement.site/sub/dir
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"
Code:
<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>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
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)