Here's my situation, it's really no big deal, but if I could make it work I'd be very happy.
I have a domain (call it www.domain.com) and forwarded to my website stored on my ISP's servers (www.isp.net/~brian/).
Originally I had turned on the domain's "masking" option so that after forwarding you could not easily tell that you had been redirected. However, with masking turned on, I cannot access subdirectories such as www.domain.com/test -> www.isp.net/~brian/test/ because of the way the masking works. If I leave it as straight forwarding with no masking, everything works just fine, but of course, as soon as the page loads, the domain name is replaced with the true address of the page.
Is there any way to either do a backwards URL rewrite using mod_rewrite? Or, since my page is already written in PHP, can I replace the URL with the domain name after the page has been loaded?
Thanks for any suggestions.
I have a domain (call it www.domain.com) and forwarded to my website stored on my ISP's servers (www.isp.net/~brian/).
Originally I had turned on the domain's "masking" option so that after forwarding you could not easily tell that you had been redirected. However, with masking turned on, I cannot access subdirectories such as www.domain.com/test -> www.isp.net/~brian/test/ because of the way the masking works. If I leave it as straight forwarding with no masking, everything works just fine, but of course, as soon as the page loads, the domain name is replaced with the true address of the page.
Is there any way to either do a backwards URL rewrite using mod_rewrite? Or, since my page is already written in PHP, can I replace the URL with the domain name after the page has been loaded?
Thanks for any suggestions.