On our main domain we are running a CMS which feeds several domains with different input.
The domains are directed with A records to the main ip address. The htaccess works fine it will bring up the right pages if you type in a url, lets say www.ictzorg.nl
It will show the url www.ictzorg.nl
in your browser which is originally www.ckc-seminars.nl/Event/ictzorg/2013/NL
This is the htaccess code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?ictzorg.nl$
RewriteRule ^(.*)$ http://www.ckc-seminars.nl/Event/ictzorg/2013/NL/$1 [P]
Problem now is that if you click on a link on that page it will search for
www.ictzorg.nl/Event/ictzorg/2013/NL/Page/450
It should direct to
www.ckc-seminars.nl/Event/ictzorg/2013/NL/Page/450
and should be shown in the URL bar as
www.ictzorg.nl/Page/450