[Solved] Issue migrating CMSMS from root directory to subdir
Posted: Thu May 10, 2012 7:08 pm
Hi there,
We are in the process of migrating hosting providers. The current live host server has CMSMS installed in the root directory and the new test host server has it installed in a subfolder directory.
I copied over the database and files without issue. I then configured the config.php file for the changed paths and database connection information. I lastly added the subfolder path in the .htaccess file to include the subfolder's name.
With all of the above said and done, the default CMS page does not load when I type in the URL plus the subpath. Instead, it brings up a subpath that is designated for subdomain purposes. For example, if I typed in "http://www.mysite.com/subpath I get what would normally come up if I typed in subdomain.mysite.com/subpath. If I type in any page via its alias in the URL, it loads fine - only the default page does not load.
In my server's error log I get the following currently:
client denied by server configuration: /xx/xx/xx/xx/uploads/feusers/index.php, referer: "http://xx.com/xx/a/architects.
So there are really two issues here: 1) default page is not working and 2) subdomains are not working right, but that is an add-on (FrontEndUsers) and I would probably have to post that question elsewhere.
Thank you very much. I look forward to hearing responses on this.
Regards,
-Mike
We are in the process of migrating hosting providers. The current live host server has CMSMS installed in the root directory and the new test host server has it installed in a subfolder directory.
I copied over the database and files without issue. I then configured the config.php file for the changed paths and database connection information. I lastly added the subfolder path in the .htaccess file to include the subfolder's name.
With all of the above said and done, the default CMS page does not load when I type in the URL plus the subpath. Instead, it brings up a subpath that is designated for subdomain purposes. For example, if I typed in "http://www.mysite.com/subpath I get what would normally come up if I typed in subdomain.mysite.com/subpath. If I type in any page via its alias in the URL, it loads fine - only the default page does not load.
In my server's error log I get the following currently:
client denied by server configuration: /xx/xx/xx/xx/uploads/feusers/index.php, referer: "http://xx.com/xx/a/architects.
So there are really two issues here: 1) default page is not working and 2) subdomains are not working right, but that is an add-on (FrontEndUsers) and I would probably have to post that question elsewhere.
Thank you very much. I look forward to hearing responses on this.
Regards,
-Mike