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
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Very simple Url Redirect, including post Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jobo
Newbie
Newbie


Joined: 05 August 2011
Online Status: Offline
Posts: 3
Posted: 05 August 2011 at 4:00am | IP Logged Quote jobo

Hi,

i just startet using ISAPI Rewrite and want to achieve the following simple task:

/mywebsite/scoutSubmitNew.asp should be redirected to /mywebsite/scoutSubmit.asp

including all post variables like ?username=extern&variable=value etc.

How can i do this? I consulted the FAQ and the documentation but can�t find a working solution.
Back to Top View jobo's Profile Search for other posts by jobo
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 05 August 2011 at 4:39am | IP Logged Quote Anton

The config for v2 will be:

[ISAPI_Rewrite]

RewriteRule /mywebsite/scoutSubmitNew\.asp /mywebsite/scoutSubmit.asp [I,RP]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
jobo
Newbie
Newbie


Joined: 05 August 2011
Online Status: Offline
Posts: 3
Posted: 05 August 2011 at 4:59am | IP Logged Quote jobo

Thanks for the very fast reply, but it still doesn´t work.

.../scoutSubmitNew.asp?username=extern&variable=value is not redirected to .../scoutSubmit.asp?username=extern&variable=value

Any other idea?
Back to Top View jobo's Profile Search for other posts by jobo
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 05 August 2011 at 5:34am | IP Logged Quote Anton

Sorry, my fault. Gonna be like this:

[ISAPI_Rewrite]

RewriteRule /mywebsite/scoutSubmitNew\.asp(\?.*)? /mywebsite/scoutSubmit.asp(?1$1) [I,RP]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
jobo
Newbie
Newbie


Joined: 05 August 2011
Online Status: Offline
Posts: 3
Posted: 05 August 2011 at 6:22am | IP Logged Quote jobo

Great, that works.

Thank you very much.
Back to Top View jobo's Profile Search for other posts by jobo
 

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