Hi!
I have currently 2 different CMS running in the root (a subfolder is too complicated because i need to move all the files later). Is it possible that i test CMSMS in the root with a different index file? When i rename the index.php to anything else, all the menu items are still linked to index.php but i want them to be linked to the new index file i want. is that possible?
This might be helpful for everybody who is using Joomla for example and want to use CMSMS in the future
use index_test.php instead of index.php
Re: use index_test.php instead of index.php
Simon,
when I develop a new site, I'll do that in a subdomain, so no sub-folder.
instead of www.domain.com I'll then have temp.domain.com as well. When the environment has to go live, I only change the name of the folder using FTP, and change the config.php to reflect the changes as well.
When you use FileBackup in combination Backup, you can make a backup of all files and the SQL, making it easier to move an environment.
Ronny
when I develop a new site, I'll do that in a subdomain, so no sub-folder.
instead of www.domain.com I'll then have temp.domain.com as well. When the environment has to go live, I only change the name of the folder using FTP, and change the config.php to reflect the changes as well.
When you use FileBackup in combination Backup, you can make a backup of all files and the SQL, making it easier to move an environment.
Ronny
-
SimonSchaufi
Re: use index_test.php instead of index.php
I dont know about your provider but bluehost makes subdomains in subfolders so when typing
sub.domain.org
it is the same if you type www.domain.org/sub
sub.domain.org
it is the same if you type www.domain.org/sub
-
Pierre M.
Re: use index_test.php instead of index.php
Hello,
I wouldn't bother with subdomains because I don't see a need for such a configuration.
And subfolders are good at isolating software. If you have an URL rewriting webserver (like Apache or lightty) you can have live sites in a subfolder but looking from the web as being in the root. So no need either to "move to root" for going live (this is what RewriteBase is for).
I you really want to "move after build from a subfolder to the root folder", there is a nice post from Mark : search "moving to root".
Pierre M.
I wouldn't bother with subdomains because I don't see a need for such a configuration.
And subfolders are good at isolating software. If you have an URL rewriting webserver (like Apache or lightty) you can have live sites in a subfolder but looking from the web as being in the root. So no need either to "move to root" for going live (this is what RewriteBase is for).
I you really want to "move after build from a subfolder to the root folder", there is a nice post from Mark : search "moving to root".
Pierre M.
-
SimonSchaufi
Re: use index_test.php instead of index.php
ok, i understand and the server i have is supporting mod_rewrite but how can i still acccess 2 different cms at the same time?
-
Pierre M.
Re: use index_test.php instead of index.php
By separating the request flow by URLs with mod_rewrite :
w.site.org/ugly_cms.php?uglyXYZ=ugly123 are internaly forwarded to /subfolder1/ugly_cms.php?uglyXYZ=ugly123
w.site.org/some/path/to/page.html is internaly forwarded to /cmsms/index.php?page=alias
Pierre M.
w.site.org/ugly_cms.php?uglyXYZ=ugly123 are internaly forwarded to /subfolder1/ugly_cms.php?uglyXYZ=ugly123
w.site.org/some/path/to/page.html is internaly forwarded to /cmsms/index.php?page=alias
Pierre M.

