CodeIgniter Forums
Codeigniter goes to documentRoot - 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: Codeigniter goes to documentRoot (/showthread.php?tid=45487)



Codeigniter goes to documentRoot - El Forum - 09-23-2011

[eluser]Unknown[/eluser]
Hi, there.
I'm working with CodeIgniter and a having a problem with codeigniter about where else to modified my code because if a set my content inside DocumentRoot (i'm using EasyPHP) http://localhost/sistema works fine, but, when a try to login (for e.g) my sistems crash. My logs from apache is:
[Fri Sep 23 10:19:00 2011] [error] [client 192.168.1.125] script 'C:/Program Files/EasyPHP-5.3.8.0/www/index.php' not found or unable to stat, referer: http://127.0.0.1/sistema/ so i think that codeigniter is looking inside /www and not inside /www/sistema.

I try modifing $config['base_url'], but a have no answer. y made echo of $_SERVER of all kind and everthing is fine.

One thing that is strange is that if a move what is inside "sistema" folder (system folder and index.php file) to root (/www) i can use my system with no problem, but a get access by http://localhost/ and i need http://localhost/sistema/

If anyone can help me i'll be appreciated.