Page 1 of 1
Installation in sub Domain eg cms
Posted: Mon Nov 10, 2008 10:52 am
by Phoenix
I have usually installed CMS in the root directory , however had to change this to avoid conflict with another script.
I tried changed the following
RewriteBase /cms
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+).htm$ index.php?page=$1 [QSA]
This works however
menu links add the cms to links eg. mydomain/cms/contact.html
In order to fix this I have to change my config.php to
$config['root_url'] = '
http://mydomain'; ---> old $config['root_url'] = '
http://mydomain/cms';
Problem stylesheet stops working and admin area as they require cms/

Re: Installation in sub Domain eg cms
Posted: Mon Nov 10, 2008 4:43 pm
by Pierre M.
Hello,
please give your System Info from the admin.
Have you tried to clear the cache ?
Have you tried to rerun the install wizard in the right new place and let it regenerate a working config.php without overwriting the existing databse objects ? (backup before...)
Pierre M.
Re: Installation in sub Domain eg cms
Posted: Tue Nov 11, 2008 11:54 am
by Phoenix
Cleared cache but content is from a sql backup.
Re: Installation in sub Domain eg cms
Posted: Wed Nov 12, 2008 2:43 pm
by Pierre M.
Pierre M. wrote:
please give your System Info from the admin.
Have you tried to rerun the install wizard in the right new place and let it regenerate a working config.php without overwriting the existing databse objects ? (backup before...)
Re: Installation in sub Domain eg cms
Posted: Fri Nov 14, 2008 10:40 am
by dpicon
Phoenix wrote:
I have usually installed CMS in the root directory , however had to change this to avoid conflict with another script.
I tried changed the following
RewriteBase /cms
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+).htm$ index.php?page=$1 [QSA]
This works however
menu links add the cms to links eg. mydomain/cms/contact.html
In order to fix this I have to change my config.php to
$config['root_url'] = '
http://mydomain'; ---> old $config['root_url'] = '
http://mydomain/cms';
Problem stylesheet stops working and admin area as they require cms/
What about the root_path?
$config['root_path'] = '/home/xxxx/public_html';
[Solved]Re: Installation in sub Domain eg cms
Posted: Tue Feb 02, 2010 9:17 pm
by Phoenix