CodeIgniter Forums
yet another running in SUBDIRECTORY - 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: yet another running in SUBDIRECTORY (/showthread.php?tid=22995)



yet another running in SUBDIRECTORY - El Forum - 09-26-2009

[eluser]test2009[/eluser]
i tested CI in a sudirectory at Localhost and at a WWW
I have only changed base_url at config.php
routes file same unchanged.

This runs:
http://localhost/CI/welcome/test

But this does not run
http://www.mysite.com/CI/welcome/test ???

it runs this way
http://www.mysite.com/CI/index.php/welcome/test

why is this difference between localhost and WWW?
how to remove index.php requirement?


yet another running in SUBDIRECTORY - El Forum - 09-26-2009

[eluser]cahva[/eluser]
This problem is with .htaccess. As it seems, it doesnt work in the live server. It might help if you put your .htaccess for us to see.