Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Rewrite of server (Topic Closed Topic Closed) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rene
Newbie
Newbie


Joined: 28 December 2006
Online Status: Offline
Posts: 2
Posted: 28 December 2006 at 7:37am | IP Logged  

Hi

I am new to this url rewrite stuff.

The user should see the original address in his browser.

I want to rewrite the url on http://mydomain/folder to http://externaldomain/folder.

I can see that I should have a RewriteHeader and a RewriteRule. But both should only apply when "/folder" or any sub-folder of "/folder" is requested.

How do I do this? The documentation is a little difficult with only a few examples.

Back to Top View rene's Profile Search for other posts by rene
 
Sergey
Admin Group
Admin Group


Joined: 11 March 2005
Online Status: Offline
Posts: 745
Posted: 28 December 2006 at 8:08am | IP Logged  

RewriteProxy /folder(.*) http\://externaldomain/folder$1
Back to Top View Sergey's Profile Search for other posts by Sergey
 
rene
Newbie
Newbie


Joined: 28 December 2006
Online Status: Offline
Posts: 2
Posted: 28 December 2006 at 8:37am | IP Logged  

Thanks for a very fast answer :-)

I did not think about the RewriteProxy rule.

I will try this as soon as possible!

Back to Top View rene's Profile Search for other posts by rene
 

Sorry, you can NOT post a reply.
This topic is closed.

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
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