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: Very simple Url Redirect, including post
Author
Message |
jobo
Newbie


Joined: 05 August 2011
Posts: 3
Posted: 05 August 2011 at 4:00am

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 05 August 2011 at 4:39am

The config for v2 will be:

[ISAPI_Rewrite]

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

__________________
Regards,
Anton
Back to Top
 
jobo
Newbie


Joined: 05 August 2011
Posts: 3
Posted: 05 August 2011 at 4:59am

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 05 August 2011 at 5:34am

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
 
jobo
Newbie


Joined: 05 August 2011
Posts: 3
Posted: 05 August 2011 at 6:22am

Great, that works.

Thank you very much.
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