Welcome Guest, Not a member yet? Register   Sign In
Exact location of CI files
#6

(This post was last modified: 03-22-2017, 05:34 PM by John_Betong. Edit Reason: Spelling, not my forty :( )

(03-22-2017, 12:59 PM)cyclist Wrote: Hi Everyone,
I've been using CI for a few months and have a couple projects up and running. However, I'm not sure I performed the installation exactly as the manual says for optimum security....I'm now starting a third project and want to try to do it correctly.

The problem is I don't understand the manual's installation instructions in terms of where you are supposed to put the CI files. It says that index.php should be in your root. It also says that the application and system files should be ABOVE the root.

That should be clear, but I don't get it. I think I'm a little bit mentally challenged when it comes to file hierarchies...they are much much harder for me than coding stuff, so can someone please help?  

As of now my brand new site has simply the main folder,  www.mysite.com, and the folder inside it, called public. ...given that, where do I put the CI files?

This is a pic of my latest attempt: http://i.imgur.com/ZWDd8OU.jpg. Can someone please tell me if it is correct, or if not where to put the files?

I prefer having the CI files above the www.mysite.com folder  (also in a CI folder) because it is easy to upload a newer CI version into the CI folder and only the index.php->$system_path needs changing to run the CI version.


Also more than one application can be in the the public_html folder and the index.php->$application path pointed to another application.

Fortunately I run a Virtual Private Server hosting quite a few domains and every CI application has access to the common CI folder with a unique CI version.

If you are unable to visualize my setup I will endeavor to upload an image... when I am on the desktop.
Reply


Messages In This Thread
Exact location of CI files - by cyclist - 03-22-2017, 12:59 PM
RE: Exact location of CI files - by ciadmin - 03-22-2017, 01:17 PM
RE: Exact location of CI files - by cyclist - 03-22-2017, 01:45 PM
RE: Exact location of CI files - by ciadmin - 03-22-2017, 02:21 PM
RE: Exact location of CI files - by cyclist - 03-22-2017, 03:12 PM
RE: Exact location of CI files - by John_Betong - 03-22-2017, 05:32 PM
RE: Exact location of CI files - by cyclist - 03-22-2017, 06:07 PM
RE: Exact location of CI files - by John_Betong - 03-22-2017, 08:33 PM
RE: Exact location of CI files - by ciadmin - 03-22-2017, 07:07 PM
RE: Exact location of CI files - by John_Betong - 03-22-2017, 08:50 PM
RE: Exact location of CI files - by ciadmin - 03-22-2017, 09:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB