Forum OpenACS Q&A: Re: Problem redirecting domain name to subsite

Collapse
Posted by Willy Jansen on
here is the problem i´m breking my neck on (for weeks now):

i have openacs running (without problems) at http://www.myolddomain.nl and i created the subsite http://www.myolddomain.nl/subsite1

i got myself a second domainname (www.mynewdomain.nl) and want to point that the subdirectory, but without omitting /subsite1. when the subdirectory is omitted all links start to break and edit-this-page ceases to work.

i tried it with the host-node-map but (a) it breaks links and (b) aolserver crashes mysteriously.

a simple redirection based on the url would be enough...
i tried to redirect it using [ad_conn location], but [ad_conn location] returns "www.myolddomain.nl" instead of "www.mynewdomain.nl"

- what might be the problem here?
- are there alternative ways (to host-node-map) to redirect domain names?
- how can i let openacs return the URL that the visitors enters in his browser?

Any help would be highly appreciated.