This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: rewrite url
Author
Message |
DCalabrese
Newbie


Joined: 19 April 2010
Posts: 4
Posted: 29 May 2010 at 11:16pm

Hi:  We bought APE -great product.  We have www.web2.org on IIS for part of website and www.web1.com on Apache for other parts of the website.  We need it to appear/function as a single website address.  We need to rewrite IIS7 so:

1. www.web2.org appears as www.web1.com

2. subdomain1.web2.org appears as subdomain1.web1.com

Thank you for your help. Chris

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 30 May 2010 at 4:44am

Hello,
I think you should use proxy to achieve this. Please try the following code:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^([^.]+)\.web2\.org$ [NC]
RewriteProxy (.*) http://%1.web1.com/$1


Thanks for your interest in our software.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version