gentijo Posted November 14, 2014 Report Share Posted November 14, 2014 Hi, I am trying to set up a multi host environment and in some cases the machine name of the host will change.. i.e. node1.server.com, node2.server.com When I edit the config on one server, it will successfully read the config file from the $realConfig setup in default.conf.php, which is configured to be the domain name. i.e. server.com When it goes to store the config data it will use the whole host name, i.e. node1.server.com.conf.php. Looking at the code, it appears that it derives the file name from variables.php with the function OX_getHostName(); I edited that file to return a fixed string for $host, but it still ends up using the host name as the config file name.. I am probably going about this the wrong way, but now I am curious why it's not working.. I deleted my /var/cache just in case the code was cached, still didn't work.. Can anyone shed some light on this situation ? Thank You John Gentilin Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted April 12, 2017 Report Share Posted April 12, 2017 Hi @gentijo, Does this help at all? https://documentation.revive-adserver.com/display/DOCS/Managing+Configuration+Files Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.