how to make a pointer that points to a subdirectory

nieuwhier

Verified User
Joined
Sep 8, 2005
Messages
280
Location
Netherlands
Hi All,

I have a domainname domainA.com as a pointer(not an alias). I want this domain to resolve in domainB.com/submap/test.php.

What I did was manually change the httpd.conf for this user and changed:
Redirect / http://www.domainB.xx
TO:
Redirect / http://www.domainB.xx/submap/test.php


This works fine for me. But of course DA will overwrite this change. So I looked at the custom http configurations and added this: Redirect / http://www.domainB.xxl/submap/test.php

But this does not work.
Has anyone an answer for me ?

btw; the reason I need this is dat I need the original domainname that was typed in and was lost because it is a pointer and not an alias. If there is an easy way of getting this then please mention it.


Best regards,
Michel
 
Last edited:
thx. gcypher.

Well than I should delete the domains as a pointer I guess because you can't add .htaccess you(as far as I know).

I alread used a pointer to redirect alle http request for the domein to https

RewriteEngine on
RewriteRule ^ https://www.mydomain.xx%{REQUEST_URI} [NS,R,L]
 
Back
Top