Mod_rewrite/mod_proxy help

Discussion in 'Apache' started by datex, Oct 30, 2012.

  1. #1
    Hi

    I hope you can help me since I’m a total newbie at mod_rewrite/mod_proxy.

    I’m a reseller of Wild West Domains which whom I get a pre-built website for reselling their products. Unfortunately the URL I get for this website is in the format https://www.securepaynet.net/?prog_id=XXXXXX which I really cannot use. So I have until now just showed the pre-built website in a frame at my own domain (not the best solution). But now Wild West Domains have changed something in the code so I cannot use that technique anymore.

    What I would like to do is the following:

    When visiting my site www.mysite.com it should show https://www.securepaynet.net/?prog_id=XXXXXX

    When clicking at links at the website – it should be proxied to my domain so

    www.mysite.com/page1.html shows https://www.securepaynet.net/page1.html

    But when the link at the original website is from another domain or subdomain – it should just be showed normal.
     
    datex, Oct 30, 2012 IP
  2. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #2
    Without going into technical details...

    1. Are you sure this is allowed by their Terms And Agreement?
    2. Are you sure it would be a good idea to push secure links/data through non-secure proxied ones? Including billing information...
    3. Are you sure it would work with their occasional "captcha" challenges on various steps, including registration and billing steps?

    I could think of other questions here as well.. wouldn't just a domain name cloaking be alright if your domain name registrar supports domain forwarding with a cloaking option?

    Cheers.
     
    pr0t0n, Oct 30, 2012 IP
  3. datex

    datex Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Billing and registration is done at another subdomain - so when they are going to those pages the pages should not be proxied
     
    datex, Oct 30, 2012 IP