CodeIgniter Forums
[SOLVED] multiple instances of CI in same host. - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- 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


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 Then i made some changes like removing index.php thing in url (htaccess) and adding .html suffix.

I can browse with and

Yes, no problem yet, until i create a sub directory named and install new CI instance.

When i browse it, ( default controller comes up. But when i go with 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).
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]