Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Banned
    Join Date
    Oct 2012
    Location
    Denmark
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mod_rewrite help

    Hi

    I hope you can help me - since I'm a total newbie. What I want to achieve is:

    When visiting the domain it should show a page from another domain (but still keep the original domain:

    www.mydomain.com -> shows -> https://www.theotherdomain.net/?prog_id=XXXX
    mydomain.com -> shows -> https://www.theotherdomain.net/?prog_id=XXXX

    When clicking at links at my site - it should show the page form the other domain - but still keping my domain:

    www.mydomain.com/page1 -> shows -> https://www.theotherdomain.net/page1

    some of the pages - at the other site are at another subdomain - but they should do the same as the above

    www.mydomain.com/page100 -> shows -> https://subdomain.theotherdomain.net/page100

    However - when the pages belong to a certain subdomain https://subdomaispec.theotherdomain.net/page100 - the site should just be showed normal: https://subdomaispec.theotherdomain.net/page100

    Is it possible??

  • #2
    Regular Coder stevenmw's Avatar
    Join Date
    Jun 2007
    Location
    OK
    Posts
    497
    Thanks
    27
    Thanked 31 Times in 31 Posts
    If you could tell me why you want to do this i might give me an idea of the best way to achieve something similar to wha you want.

    You do know that if you own multiple domains you can tie them together so each site is exactly the same right? But since you're wanting to pull pages from the second domain I assume you probably don't want to do that.

    Again, if you can tell me why I might get a better idea.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •