![]() |
base_url not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: base_url not working (/showthread.php?tid=30396) |
base_url not working - El Forum - 05-13-2010 [eluser]Pokhara[/eluser] My codeigniter project works on windows but not working in another linux development server. It is not loading css, javascript etc. pls help Code: $config['base_url'] = "http://my_project/project1/"; base_url not working - El Forum - 05-13-2010 [eluser]WanWizard[/eluser] Did you check the HTML source of your page? Is the link to your css file ok? If not, it's a code issue. If it is ok, but it doesn't load, check your .htaccess file, it might be a rewriting issue. base_url not working - El Forum - 05-13-2010 [eluser]Pokhara[/eluser] On the html source page in windows it's ok and they are clickable however in linux computers html source page the links are ok and not clickable base_url not working - El Forum - 05-13-2010 [eluser]LinkFox[/eluser] nm. base_url not working - El Forum - 05-13-2010 [eluser]WanWizard[/eluser] [quote author="Pokhara" date="1273780455"]On the html source page in windows it's ok and they are clickable however in linux computers html source page the links are ok and not clickable[/quote] I assume you mean Windows server and Linux server? As in webserver? What you do mean by 'not clickable'? A link is ok or it's not. What happens if you cut-and-paste the link into your browser? Any error messages? base_url not working - El Forum - 05-13-2010 [eluser]Pokhara[/eluser] well, actually apache_mod_rewrite was set to None in my development machine. Fixed it, thanks for the help. I am using linux for development as well, eclipse pdt runs much faster than windows. |