xoops forums

kside

Just popping in
Posted on: 2004/7/14 19:35
kside
kside (Show more)
Just popping in
Posts: 16
Since: 2002/2/18
#1

xoops_url - virtual path - domain redirection

hallo friendly helpers,
have read some similar posts, but dont find the solution fitting exactly my problem.

i have a main domain called www.maindomain.de. i have installed XOOPS here.
i have another domain called www.domainnameiwanttobedisplayed.com
this domain is redirected to www.maindomain.de

if i use www.maindomain.de in mainfile.php as xoops_url /virtual path everything works fine.

if i use www.domainnameiwanttobedisplayed.com in mainfile.php as xoops_url / virtual path everything works without in usermenu all modules display module does not exist (system admin module is working).

i dont want to change in mainfile.php www.domainnameiwanttobedisplayed.com to www.maindomain.de because i want the www.domainnameiwanttobedisplayed.com to be displayed and be visible for users in adress field in browser.

thanks for ur help in advance

karin

kside

Just popping in
Posted on: 2004/7/15 11:49
kside
kside (Show more)
Just popping in
Posts: 16
Since: 2002/2/18
#2

Re: xoops_url - virtual path - domain redirection

solved my problem by changing HTTP_HOST in include/cp_header.php into HTTP_X_FORWARDED_HOST (found in phpinfo.php under environment)

maybe helpfully for somebody else

blueteen

Quite a regular
Posted on: 2004/7/16 8:37
blueteen
blueteen (Show more)
Quite a regular
Posts: 379
Since: 2004/7/16
#3

Re: xoops_url - virtual path - domain redirection

great !
it works for me also !
thank you !!