This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Keep the domain name on the address bar !
Author
Message |
techishere
Newbie


Joined: 10 March 2012
Posts: 2
Posted: 10 March 2012 at 9:45pm

Hey guys

I need a method to redirect a domain to a different one but with keeping the original domain in the address bar !

like this

original : www.mydomain1.com

to : www.mydomain2.com

address bar : www.mydomain1.com

And the same thing should happen for the requested files in the address bar

original : www.mydomain1.com/default.html
to : www.mydomain2.com/default.html

address bar : www.mydomain1.com/default.html

It should be working with any request after /

Thanks a lot

 

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 12 March 2012 at 8:53am

This is usually achieved using proxy functionality:

[ISAPI_Rewrite]

RewriteCond Host: www\.mydomain1\.com
RewriteRule (.*) http\://www.mydomain2.com$1 [I,P]

__________________
Regards,
Anton
Back to Top
 
techishere
Newbie


Joined: 10 March 2012
Posts: 2
Posted: 12 March 2012 at 11:24am

Thanks for the reply , do I need to have full version to get this running ?

Because it doesnt work !

it says :

Line 19: Unrecognized string: RewriteRule (.*) http\://www.mydomain2.com$1 [I,P]

 

 

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 13 March 2012 at 3:14am

Yes, you need to have Full version of ISAPI_Rewrite.
Without it you won't be able to achieve your goal.

__________________
Regards,
Anton
Back to Top
 

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

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum