[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