Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Rewrite of server 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 Quote rene

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
Moderator Group
Moderator Group


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

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 Quote rene

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
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  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