Build a CI application alongside EE 2 installation |
[eluser]Monarobase[/eluser]
I think that you are looking at it from the wrong point of view. Without you .htaccess rewriting you access EE controlers with http://www.nifootball.co.uk/index.php/co...r/function You access the CI controllers with : http://www.nifootball.co.uk/stats.php/co...r/function At the moment you have a rewrite that rewrites : http://www.nifootball.co.uk/pages/home.html to http://www.nifootball.co.uk/index.php/pages/home/ What you need to do is to say that http://www.nifootball.co.uk/stats/ is not redirected to http://www.nifootball.co.uk/index.php/stats/ but to http://www.nifootball.co.uk/stats.php/index The routes in CI allow you to specify which controller is shown as the main index, but you have to be in the correct application for the routes config to apply. So you don't detect if you are using a CI controller and then show stats.php but you do the opposite, you use the CI if stats.php is used and EE controllers if index.php is used. Maybe the best solution would be to tell your .htaccess to ignore all the EE rewritings for a folder called stats and place the index.php of code igniter in this folder and give it it's own .htaccess rewriting. |
Welcome Guest, Not a member yet? Register Sign In |