Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Can I use old config files in ISAPI 3.0 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
hokushin
Newbie
Newbie


Joined: 27 July 2010
Location: Bahamas
Online Status: Offline
Posts: 9
Posted: 27 July 2010 at 8:15am | IP Logged Quote hokushin

Hello,

I've just installed ISAPI Rewrite 3.0 filter to my dev machine.

The old config file doesn't work. Should I make some adjustments to config file as well?

For example I've tested the rule below in the RegexTest. The program returned Pattern Not matched message. Please advice.

RewriteRule ^/advertisement/([\d]+)/?$ /advertisement/default.aspx?p=$1

 

Back to Top View hokushin's Profile Search for other posts by hokushin
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10483
Posted: 27 July 2010 at 8:22am | IP Logged Quote Anton

Do you mean you are trying to make the config from v2 working on v3?
Please explain your rewriting scenario and I'll help you with the rules.

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


Joined: 27 July 2010
Location: Bahamas
Online Status: Offline
Posts: 9
Posted: 27 July 2010 at 8:43am | IP Logged Quote hokushin

That's right. Time is of the essence, so I've just linked v2 config to v3. it should be like that:

1. http://www.mysite.com/productpage.aspx?productID=12

http://www.mysite.com/12/default.aspx

Back to Top View hokushin's Profile Search for other posts by hokushin
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10483
Posted: 27 July 2010 at 9:30am | IP Logged Quote Anton

Please try to have the following config in v3:

RewriteBase /
RewriteRule ^(\d+)/default\.aspx$ productpage.aspx\?productID=$1 [NC,L]

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

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 can vote in polls in this forum