Welcome Guest, Not a member yet? Register   Sign In
CI directory structure
#1

[eluser]tim1965[/eluser]
Hi

I have been running a live test server, and now want to change the directory structure, so that as much as possible of the system is no longer in the root which is /var/www/ (i know dont ask, why i didnt do this before the testing, long story).
my current directory structure looks like this

/var/www/
system/
codeigniter directories
application/
uploads/
static/

with system under /var/www/

with the following directories under var/www/system/
with application containing controllers, views,etc,
uploads containing upload directory and user directories for uploaded images needed by the website
static conatining javascript, css, static website images,

The box is running Ubuntu 9

I am a noob with regardss to UNIX, so before i try this can any anyone share their current directory structure for a live server or point me to a good tutorial around this. I particularly need help with what can and cannot sit above var/www/ and also permissions.

I have looked around the forum anh there are some topics that cover this but i think i need a little bit more detai.
Thanks in advance

Tim
#2

[eluser]mdcode[/eluser]
Fully explained in the Wiki... I was up and running on this in about 5 minutes.

http://codeigniter.com/wiki/Multiple_Applications/
#3

[eluser]tim1965[/eluser]
Aaaaagh

Sorry i did look thru the wiki but must have missed this. Thnx for the quick reply.




Theme © iAndrew 2016 - Forum software by © MyBB