Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions
 Helicon Tech : Common Questions
Subject Topic: $10 is not working Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lastcowboy
Newbie
Newbie


Joined: 13 March 2008
Online Status: Offline
Posts: 13
Posted: 08 September 2008 at 5:22am | IP Logged Quote lastcowboy

Hi i have a rule like this:

RewriteRule ^\/s2s/shops\/search\/pr\/([a-zA-Z0-9.-]+)-([a-zA-Z0-9]+)\/c\/([a-zA-Z0-9.-]+)-([a-zA-Z0-9]+)\/p\/([a-zA-Z0-9.-]+)-([a-zA-Z0-9]+)\/pri\/([a-zA-Z0-9.-]+)-([a-zA-Z0-9]+)\/Page-([0-9]+)\/sort\/(name-asc|name-desc|reviews-asc|reviews-desc|overall-asc|overall-desc|r1-asc|r1-desc|r2-asc|r2-desc|r3-asc|r3-desc|r4-asc|r4-desc)([/]*)$ /s2s/searchshop.aspx?pr=$2&c=$4&p=$6&pri=$8&Page=$9&sort=$10 [NC,L]


but i cannot get the $10 even though it appears to be working in the regexp test

i keep getting the $1 appended with a zero.

Please advise.
Thank you.


Back to Top View lastcowboy's Profile Search for other posts by lastcowboy
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6467
Posted: 08 September 2008 at 5:56am | IP Logged Quote Yaroslav

ISAPI_Rewrite 3 only supports 1-9 submatches. You may try to concatinate some submatches or not to use some matches that are not needed and use non marking parenthes instead - (?:...)

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 

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