Welcome Guest, Not a member yet? Register   Sign In
base_url not working fine - Please help
#1

[eluser]Saurabh[/eluser]
Hi All,
I am pretty new to CI I am facing some issue deploying an app developed using code igniter,
Please be kind enough to give few minutes of your time to help me
solve this issue.

There is some problem with my deployed app ( thisisnext.info) as the
css etc files are not reachable as the base_url result is wrong.My
homepage opens fine but when i try to open any other page that doesnt
open properly as the base_url is returning the whole url and not only
thisisnext.info and hence the css files are not found.

Just to let you know this ( thisisnext.info) is a subdomain in my
account and I have a subdirectory in public_html from where I am
serving this site.



My htaccess file:

AddHandler application/x-httpd-php5s .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]


Config.php ( main portion)

$config['base_url'] = "http://www.thisisnext.info/";
$config['index_page'] = "";
$config['uri_protocol'] = "REQUEST_URI";


Any help pointers are highly appreciated.


Thanks
Saurabh


Messages In This Thread
base_url not working fine - Please help - by El Forum - 12-10-2009, 01:01 PM
base_url not working fine - Please help - by El Forum - 12-11-2009, 12:54 AM
base_url not working fine - Please help - by El Forum - 12-11-2009, 01:00 AM
base_url not working fine - Please help - by El Forum - 12-11-2009, 01:38 AM
base_url not working fine - Please help - by El Forum - 12-11-2009, 01:50 AM
base_url not working fine - Please help - by El Forum - 12-11-2009, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB