[SOLVED] multiple instances of CI in same host. - 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: [SOLVED] multiple instances of CI in same host. (/showthread.php?tid=45524) |
[SOLVED] multiple instances of CI in same host. - El Forum - 09-25-2011 [eluser]Unknown[/eluser] Hello, I'm just started to learn CodeIgniter. I thought best way to archieve this goal is doing practise. So, i started to a little project. Before CI days, i was using two environments called production and development. I started with installing CI to root, like test.com. Then i made some changes like removing index.php thing in url (htaccess) and adding .html suffix. I can browse with test.com and test.com/controller.html. Yes, no problem yet, until i create a sub directory named test.com/development and install new CI instance. When i browse it, (test.com/development) default controller comes up. But when i go with test.com/development/controller.html it gives me nice 404 error. I want to have two environments. I will do changes in /development and when i finish i will copy these files to root folder. And i couldn't get it working. I cant browse the controllers inside /development subdirectory. im not using htacces fine on my development directory, like /development/.htaccess My htaccess file (root). Code: RewriteEngine On |