Need Clarification - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Need Clarification (/showthread.php?tid=46188) |
Need Clarification - El Forum - 10-21-2011 [eluser]Unknown[/eluser] I tried to properly follow every step of the installation guide from the user guide. I have to tell you it was a disaster looking at it and it brought more questions then answers. Not experienced users may feel the quide is fairly straigt forward but then again, an installation guide is supposed to be for a user with little or no experience. Quote: 1.Unzip the package. steps 1, 3, & 4 are easy to understand. Step 2 sounds very easy to start with but gets confusing later. "Upload the CodeIgniter folders and files to your server"... will the codeigniter folder be inside my site folder, or is it THE site folder? if it is THE site folder then obviously it will be renamed and that will also be the root folder..right? Here is why I got that doubt in the first place... Quote:If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system and application folders to something more private. If you do rename them, you must open your main index.php file and set the $system_folder and $application_folder variables at the top of the file with the new name you've chosen. "For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser". Wait a sec... ABOVE the root??? I would along with a lot of other would appreciate an example dir structure for this, with clear indication of what/where is my codeigniter dir?, what/where is my site dir?, what root are you talking about?, AND "After moving them, open your main index.php file and set the $system_folder and $application_folder variables, preferably with a full path, e.g. '/www/MyUser/system'." with the dir structure explained example path to be set in the index.php after moving the files, because the given example path here says/www/MyUser/system where I am assuming this is a relative path to the 'system' folder inside the server root, but then the statement "should be placed above web root" makes absolutely no sense what so ever... not to me it does not..... So here is what I want, default dir structure with appropriate relative paths in the index.php, and moved and renamed dir structures for them as well.. I tried to uploade the default codeigniter folder to the server renamed it to mysitename, edited the baseurl in config.php to "http://localhost/mysitename/" and tried running it, I got this error: "Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php" |