preview url

#1
[eluser]Unknown[/eluser]
Hi,
I just hosted my codeigniter site on a server. But my domain is not pointing to the server yet.

Meanwhile inorder to view the site via a preview URL like http://123.123.123.123/~username/ what should be done?

I changed the base url to http://123.123.123.123/~username/ But my stylesheets, links, images etc do not work.

Please advise.

Thanks.

#2
[eluser]web_developer[/eluser]
It is hard to figure out problem.
But just check controller are working?

for example : http://123.123.123.123/~username/<controller_name&gt;
print some statement in "index()" and checkout.

index() are working?
if it is working then configuration is ok.

#3
[eluser]web_developer[/eluser]
and might be your URL is creating problem.

http://123.123.123.123/~username/

I think CI is treating ~username as a Controller or directory
in that case you have to set condition in routes.php

$route['~username'] = "<controller_name>"

and then it will work..

(It is better to use with Domain URL)


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.