Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-28-2012, 06:50 PM   PM User | #1
datex
Banned

 
Join Date: Oct 2012
Location: Denmark
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
datex is an unknown quantity at this point
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??
datex is offline   Reply With Quote
Old 10-29-2012, 10:08 AM   PM User | #2
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 446
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
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.
stevenmw is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:15 AM.


Advertisement
Log in to turn off these ads.