Page 1 of 1
problem accessing cms from local network
Posted: Tue Feb 06, 2007 6:44 am
by pomalo
installing a cms for access from internet with domain "
www.mydomain.com" work fine but accessing the cms from local network all url like "
http://192.168.0.3/cms/" are converted to
http://www.mydomain.com/cms" and the cms is not accessible
login is no possible
Re: problem accessing cms from local network
Posted: Tue Feb 06, 2007 11:16 am
by Dee
Make sure
http://www.mydomain.com is reachable from the local network, or change the URL's in your config.php like this:
Code: Select all
$config['root_url'] = 'http://'. $_SERVER['SERVER_NAME']. '/cms'
Regards,
D
Re: problem accessing cms from local network
Posted: Tue Feb 06, 2007 2:54 pm
by pomalo
Many thanks
works with
Code: Select all
$config['root_url'] = 'http://'. $_SERVER['SERVER_NAME']. '/cms'
but every config options set like an url must be changed like this
(uploads_url, image_uploads_url)
regards
claude