Re: some really important questions [message #17926 is a reply to message #17925] |
Sun, 25 April 2004 20:07 |
Ilia
Messages: 13241 Registered: January 2002
Karma:
|
Senior Member Administrator Core Developer |
|
|
While it is not recommended to keep data & www in the same dir, it is completely safe as the forum places .htaccess files denying direct access to those directories.
There is no disadvantage to keeping things in 2 directories other then it makes it a tiny bit more difficult to do manual backups since you need to backup 2 directories instead of just 1.
For ease of deployment is it simpler to keep everything in 1 directory.
Quote: |
So, what I should have done is to have the following structure, right?
~/
.....
..forum.domain1.nu/ put install.php here during installation
....forum/ www root and data root
.........
.....
|
Yes and temporarily chmod forum.domain1.nu 777.
Quote: |
Does this proposed solution give me any side-effects or downsides as of the three reasons I wrote above?
|
No.
Quote: |
Can I preserve my setup by the following procedure?
copy the folders and files from data root to www root
replace soft links to point to their targets new location
through the admin interface alter the path to data root
|
Yes, except you need to MOVE and not COPY the folders, copying will preserve the folder owner/group. Although if you are having safe_mode issues it may be simpler to just re-install since you forum does not yet have any data (?).
FUDforum Core Developer
|
|
|