Welcome Guest, Not a member yet? Register   Sign In
Is it necessary to put the system folder under webroot?
#1

[eluser]mattalexx[/eluser]
Right now I have it set up like this:

Code:
+ sitefolder
   + logs
   + webroot
      + system

Would this be okay to do as long as I edited the index.php file??

Code:
+ sitefolder
   + logs
   + system
   + webroot
#2

[eluser]Pascal Kriete[/eluser]
That's fine. Actually, many people here will suggest it as it's a) safer and b) allows you to run several applications on one core, making it easy to update.
#3

[eluser]mattalexx[/eluser]
That's good to hear, thanks.
#4

[eluser]MCrittenden[/eluser]
So how do you tell index.php to reach the system folder? Change the path to "../system"?
#5

[eluser]mattalexx[/eluser]
I gave it a full path and it worked like a charm. Like this on a lot of computers:

Code:
/var/www/sitename/system
#6

[eluser]gunter[/eluser]
yes that should work... and donĀ“t forget to change the application path, too...




Theme © iAndrew 2016 - Forum software by © MyBB