problem accessing cms from local network

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
pomalo
Forum Members
Forum Members
Posts: 27
Joined: Fri Jan 19, 2007 4:59 pm

problem accessing cms from local network

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: problem accessing cms from local network

Post 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
pomalo
Forum Members
Forum Members
Posts: 27
Joined: Fri Jan 19, 2007 4:59 pm

Re: problem accessing cms from local network

Post 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
Locked

Return to “[locked] Quality Assurance”