Install CMSMS in root where already a website resides. Possible?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
enzipher

Install CMSMS in root where already a website resides. Possible?

Post by enzipher »

Hi there!

I was just wondering if anyone has experienced this problem; You have a working (more or less static) website online, you want to install and configure CMSMS with all what that means in the root dir, and then when it's finished, make a quick and easy switch to the new CMSMS site. Sounds easy...

This isn't really possible because there is, of course, already an index.php in the root dir. On a previous installation I made a simple try with renaming the CMSMS index.php file, but it seems that everything is hard coded to use this file. Perhaps wrong?

I thought about installing CMSMS in a sub dir and then use mod_rewrite function, but my preference would have been to make the install in the root dir. Perhaps I can install CMSMS in a sub dir and then just move it to the root?

Does any one have any clever ideas how to make a work around for this gentle problem? It feels like I am missing something...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Install CMSMS in root where already a website resides. Possible?

Post by calguy1000 »

Install in a sub directory, when you're ready to move it to root you just move all of the files, and update the config.php
or you can use mod_rewrite to automagically redirect to the sub directory.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
enzipher

Re: Install CMSMS in root where already a website resides. Possible?

Post by enzipher »

Thanks for the reply calguy1000.

Your first suggestion was what I was thinking was the best after all. I was just not sure if everything would work correctly after I had moved it. But if you say so i trust you on that. :)

I guess you will be hearing from me if I run into any probz.
Pierre M.

Re: Install CMSMS in root where already a website resides. Possible?

Post by Pierre M. »

Hello,

here are some more thoughts on software separation by installing in a subdirectory and leaving the root webdir empty.

Pierre M.
Locked

Return to “[locked] Installation, Setup and Upgrade”