Two Codeigniter running in same server. Route to subfoler CI
<p>I have 2 codeigniters running in the same server. Let's call CI_A and CI_B.</p>

<p>The folder structure is the following:</p>

<pre><code>CI_A/
 ../application
 ../system
 ../admin/     &lt;-- this is my CI_B
    ../application
    ../system
</code></pre>

<p>When I access to "www.example.com" I'm working with CI_A.
When I access to "www.example.com/admin" I'm working with CI_B. (I had to modify route.php in CI_A for make it work).</p>

<p>But I want to access to a another controller in CI_B using the url "www.example.com/api" and I don't know how.</p>