This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: URL forwarding.
Author
Message |
markhorrocks
Newbie


Joined: 16 July 2010
Posts: 1
Posted: 16 July 2010 at 12:29am

I have a simple requirement but am confused about how to
get it done. I want to forward www.domain1.com to a
windows 2003 server using IIS 6 (on which Helicon Ape will
run) and www.domain2.com to an Ubuntu server in a VMWare
VM on the same machine which uses Apache.

Can I do this and how please?
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 16 July 2010 at 5:28am

Hello,
Yes, you can do this. It looks like you need proxy. Example:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(?!www\.)?domain2\.com$ [NC]
RewriteProxy (.*) http://ubuntu-server/$1


Please note, both domains must be set up in IIS.

__________________
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