CodeIgniter Forums
Problem with base_url() and files not loading - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Problem with base_url() and files not loading (/showthread.php?tid=17103)

Pages: 1 2


Problem with base_url() and files not loading - El Forum - 04-10-2009

[eluser]jamaky[/eluser]
to TheFuzzy0ne:
Your htaccess didn't work for me Sad
All requests was redirected to http://localhost/index.php


Problem with base_url() and files not loading - El Forum - 04-10-2009

[eluser]jamaky[/eluser]
to jedd:

My access.log say
Code:
127.0.0.1 - - [11/Apr/2009:02:01:52 +0200] "GET /cres/heraldry_register.php HTTP/1.1" 200 8371
127.0.0.1 - - [11/Apr/2009:02:01:53 +0200] "GET /cres/css/main.css HTTP/1.1" 200 5921
127.0.0.1 - - [11/Apr/2009:02:01:53 +0200] "GET /cres/images/head.jpg HTTP/1.1" 304 -
127.0.0.1 - - [11/Apr/2009:02:01:53 +0200] "GET /cres/images/bg.jpg HTTP/1.1" 304 -
127.0.0.1 - - [11/Apr/2009:02:01:53 +0200] "GET /cres/images/articlebg.jpg HTTP/1.1" 304 -
127.0.0.1 - - [11/Apr/2009:02:04:17 +0200] "GET /cres/heraldry_register/figure_register.php HTTP/1.1" 200 12063
127.0.0.1 - - [11/Apr/2009:02:04:20 +0200] "GET /cres/heraldry_register/shield_register/name.php HTTP/1.1" 200 7596
127.0.0.1 - - [11/Apr/2009:02:04:21 +0200] "GET /cres/images/shield/1.png HTTP/1.1" 304 -
127.0.0.1 - - [11/Apr/2009:02:04:21 +0200] "GET /cres/images/shield/2.png HTTP/1.1" 304 -
I can view images after few refresh of the page (this is the strange thing).

I found that my browser try redirect http://localhost/cres/images/coat_of_arms/1.png to http://www.localhost.sk/cres/images/coat_of_arms/1.png (.sk is slovak domain)
Did you have any idea what's the problem?

Meanwhile I place my system on other server. It works without problem. So this is already not a hot problem for me...