EllisLab text mark
Advanced Search
     
Will EE2 insytallation stomp on my other 3rd party CI apps?
Posted: 19 July 2012 03:21 PM   [ Ignore ]
Joined: 2012-02-11
2 posts

I’m very interested in getting EE via the freelancers license and using it for my site. I currently have pancakeapp (built on CI) installed as my project management/invoicing tool. I have it segregated from my main site which is also a CI installation.

So my site:

/index.php
/application
/etcetera

and my project manager is
/pancake/index.php
/pancake/application

and so on.

I have no clue how EE is setup. Can I do an installation in my www directory and preserve my pancake file structure without extensive backups and filesystem massaging prior to the installation?

Thanks!

 
Posted: 19 July 2012 04:40 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey Bonker,

Nice handle. Welcome to the forums!

The index.php is going to be the issue. You could rename and remove that in ExpressionEngine, just like in CI, but if there is an index.php there it’s going to come up. Of course you can tell Apache to do things differently, but do you want to do that?

You could move your app to a subdomain or another folder to solve this. But yeah, having both in the same directory is going to be extra work. To do this cleanly, you are going to want to do a subdomain or just a different folder.

Does that make sense?

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 19 July 2012 08:37 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2012-02-11
2 posts
Shane Eckert - 19 July 2012 04:40 PM

Hey Bonker,

Nice handle. Welcome to the forums!

The index.php is going to be the issue. You could rename and remove that in ExpressionEngine, just like in CI, but if there is an index.php there it’s going to come up. Of course you can tell Apache to do things differently, but do you want to do that?

You could move your app to a subdomain or another folder to solve this. But yeah, having both in the same directory is going to be extra work. To do this cleanly, you are going to want to do a subdomain or just a different folder.

Does that make sense?

Cheers,

Thanks Shane!

I do have sub-domains setup for the mobile site and pancake. I’m not too worried about my index.php. I guess I’m most concerned about the directory structure of EE during, and after installation. I hate surprises. wink

So, by your comment, am I to understand there isn’t an index.php in the normal way of thinking? And if I rely on mine for routing visitors to wherever in my silly universe I’d like to send them, I might have issues?

Anyway, I’m sure it will make sense once I’ve spent a little more time with the documentation. I’ll look for directory structure info now.

Cheers!

 
Posted: 20 July 2012 02:29 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey Bonker,

Yeah, it will come quick, especially if you are familiar with CI.

There are no directories with the same name, so you are good there.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 20 July 2012 01:30 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2012-07-06
6 posts

This is similar to a question I was about to ask; I hope it’s okay to jump in here as it might help us both. With a CodeIgniter project we can set up routes.php to direct a URL to a specific controller. This seems like a similar problem, where /pancake/ should go to one controller and /everything-else/ should be handled by ExpressionEngine. Is it possible to set this up, or is my thinking off here?

 
Posted: 20 July 2012 02:39 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey mikewheaton,

If EE and your app live in the same directory, I am not sure how you would decide who handles the requests. I think it’s just best to keep them separated as I mentioned in post #1. But You can also ask this question in Development and Programming, there may be a way to make this happen smoothly that I am not aware of.

I hope that helps!

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade