Welcome Guest, Not a member yet? Register   Sign In
Codeigniter goes to documentRoot
#1

[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.









Theme © iAndrew 2016 - Forum software by © MyBB