xoops_url - virtual path - domain redirection
  • 2004/7/14 19:35

  • kside

  • Just popping in

  • Posts: 16

  • Since: 2002/2/18

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


Re: xoops_url - virtual path - domain redirection
  • 2004/7/15 11:49

  • kside

  • Just popping in

  • Posts: 16

  • Since: 2002/2/18

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

Re: xoops_url - virtual path - domain redirection
  • 2004/7/16 8:37

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16

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


Who's Online

89 user(s) are online (74 user(s) are browsing Support Forums)

Members: 0

Guests: 89



Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits