CodeIgniter Forums

Full Version: Routing to another Codeigniter project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
I have two codeigniter projects on one server. There are links in both projects to each other. The directory structure:
vamp/www
--FirstProject
--folder
----SecondProject

I have a link in the first project

href="http://localhost/folder/SecondProject/uporabnik/autoprijava/6"
This works fine the routing in the second project works fine as well.

It gets problematic when I try to route from the second project to the first.

href="http://localhost/FirstProject/mywall"
This is the link in the second project. The routing in the First project doesnt work this time. The problem is that "FirstProject" is considered base for routing in the application not mywall as is should be.