We got a CMSMS site up and working great on a virtual server out in our DMZ (server A). We then copied the server down to a production/test environment and brought the server back up (server B)(it also snagged a dhcp address). Everything appeared to be fine. The only major issue is that when I sign into our test server (server B) as an admin to make changes to the site, it immediately redirects me to make changes on the server out in the DMZ (server A).
So going to server B/admin then takes me to serverA/admin/index.php.
Anyone know how I can fix this? Thanks in advance!
Working with Virtual Servers
Re: Working with Virtual Servers
You can't just move them around w/o making changes to the config.php file so it knows the path to admin etc. you can always put the install folder back in and run install but AT STEP 5 DON'T CREATE TABLES OR INSTALL DEFAULT CONTENT, this will fix any path issues...
Re: Working with Virtual Servers
Did you replace all references from A to B in config.php? Always needed when moving to a different server or path. Make sure you clear your cache in the admin panel.
Re: Working with Virtual Servers
Thanks for the replies!
I change 3 paths in config.php and restarted apache.
Now I get a completely blank page when I hit my web serverB/admin page. Odd because if I type something weird in like serverB/admin/test I get a page not found. So its like I properly hit the page but it gives me zilch back. actually the page source is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<__html><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
</__body><__body></__html>
Does this sound fixable?
I change 3 paths in config.php and restarted apache.
Now I get a completely blank page when I hit my web serverB/admin page. Odd because if I type something weird in like serverB/admin/test I get a page not found. So its like I properly hit the page but it gives me zilch back. actually the page source is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<__html><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
</__body><__body></__html>
Does this sound fixable?