chrismfz Posted June 7, 2013 Share Posted June 7, 2013 (edited) Is it possible to use PHP's variables like SERVER_NAME to determine where WHMCS is ? The logic behind this is to be able to use technology like Apache ProxyPass a) to hide the server (if it a different server from the actual one), or b) if it's on another domain like clients.domain.tld to make it domain.tld/clients but keeping the original hostname in case something happens to the primary web server. (or any other reason like this) c) having multiple domains using the same whmcs setup on a different dedicated system. For example b could also save me from a double EV SSL certificate, SEO, issues with Google for webmasters / Analytics and various security seals / scanner companies like geotrust/symantec. Edited June 7, 2013 by chrismfz 0 Quote Link to comment Share on other sites More sharing options...
digitech-it Posted November 7, 2013 Share Posted November 7, 2013 Try: {php} $var = [sOME SERVER_VARIABLE]; (echo $var or save it somewhere) {/php} 0 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.