When I point my real domain www.mydomain.com for that site to XOOPS it comes up showing:
xxxx.mydomain.com
instead of www.mydomain.com
shagreel wrote:
I am not sure I understand the problem completely, but I will throw out an idea anyway. I have had problems using virtual servers before and I had to change HTTP_HOST to SERVER_NAME and then everything worked fine. HTTP_HOST refers to the actual machine name, SERVER_NAME will get the virtual name from apache. If that helps, I can point out at least one more place you will want to change the same thing.
$url_arr = explode('/', str_replace(str_replace('https: //', 'http: //', XOOPS_URL.'/modules/'), '', 'http: //'. $HTTP_SERVER_VARS['HTTP_HOST'].$xoopsRequestUri));
Herko Coomans wrote:
Thanks We'll review the hacks and se if we can integrate them into the official module!
Herko