Page 1 of 1

Move CMSms to an other directory

Posted: Wed Sep 19, 2007 12:05 pm
by Eleco
Hi to all, I'm new of this forum.
I've installed CMSms 1.1.2 "Savaii" in a sub-directory of my site just to start playing and see how I liked it.
Now I'd actually like to move it in the root folder and start working with it, do I need to uninstall-reinstall it or I can simply cut-and-copy the files and change the path settings?
Thankyou.

Re: Move CMSms to an other directory

Posted: Wed Sep 19, 2007 12:17 pm
by RonnyK
Eleco,

yes it can be done, if you check on the forum for "move to root" you'll find several posts. Basically if you move the folders/files to the other folder, you need to change the config.php to reflect the new path to CMSMS and other files.

Backup before you do so.....

Ronny

Re: Move CMSms to an other directory

Posted: Wed Sep 19, 2007 12:41 pm
by Pierre M.
There is another option too : RewriteBase (search...) if you can setup a .htaccess for URL rewriting.
I even think it is better to keep CMSms in a subdirectory. But it may taste another way to you.

Pierre M.

Re: Move CMSms to an other directory

Posted: Wed Sep 19, 2007 12:51 pm
by Eleco
Thankyou to both for the quick answers.

I'll search the forum for "move to root" as RonnyK suggested, but I'm also interested in what PierreM is saying.
Why do you feel is better to keep CMSms in a sub directory? It sounds better to me because I'm thinking of having a different home page, not based on CMSms, is this a good reason?
I can setup a .htaccess  but I don't know which is the command for url rewriting.
:) Thanks.

Re: Move CMSms to an other directory

Posted: Wed Sep 19, 2007 1:01 pm
by Eleco
Eleco wrote: I can setup a .htaccess  but I don't know which is the command for url rewriting.
I found this out searching the forum, but I'm still interested in your opinion on why it can be usefull to have CMSms in a sub-directory...

Re: Move CMSms to an other directory

Posted: Wed Sep 19, 2007 1:49 pm
by Pierre M.
Thank you for having searched (and found by yourself) first.

Thanks for your interest too. Here are some "pro subdirectory statements" of my opinion (own taste) :
-as you have said, it leaves your root web folder empty hence more simple.
-if you integrate several softwares this way (see cmsmadesimple.org) each doesn't interfere with others. The software separation makes things less buggy than an ugly mix. Sometimes a big win when you add a shopping cart, a netpayment, etc.
-the real name of the CMSms folder is truely hidden (not only obfuscated) from the outside. It hardens things a bit against attacks.
-it leave the door open for other things, like Apache mod_cache setup (but only limited to your imagination : it currently can be used to build mutilanguage sites too by consolidating several CMSms instances). etc.
Hope this answers your question.
Have fun with CMSms

Pierre M. (edit : typo)

Re: Move CMSms to an other directory

Posted: Wed Sep 19, 2007 2:09 pm
by Eleco
Very interesting! Thankyou very much for sharing your experience. :) I'll defenitely think about it.
See you!