Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: Question about Skip Rule Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
corrosion73
Newbie
Newbie


Joined: 11 August 2008
Online Status: Offline
Posts: 2
Posted: 11 August 2008 at 3:45pm | IP Logged Quote corrosion73

Hi--

I am using ISAPI Rewrite 3.0 and have the following rules in sequence:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.54

RewriteRule ([^/]*)/([^/]*)(/.+)? index.aspx?regionurl=$1&categoryurl=$2/ [NC,LP,S=1]
RewriteRule ([^/]*)(/.+)? index.aspx?regionurl=$1 [NC]

If the first rule finds a match, it is my intention to skip the next rule (hence the S=1), but for some reason that I can't figure out, the second rule still gets executed.

Does anyone see anything wrong with my syntax? Thanks in advance.
Back to Top View corrosion73's Profile Search for other posts by corrosion73
 
corrosion73
Newbie
Newbie


Joined: 11 August 2008
Online Status: Offline
Posts: 2
Posted: 11 August 2008 at 3:59pm | IP Logged Quote corrosion73

Figures...as soon as I make a post, I figure it out :)

When I removed the "LP" from the first rule, the "skip" (S=1) properly skipped the next rule. I'm not sure why yet, but it works.

Thanks for a great product.
Back to Top View corrosion73's Profile Search for other posts by corrosion73
 

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