[thelist] IIS, Search Engine Friendly URLs- ISAPI plugin?

Joshua Olson joshua at waetech.com
Thu Jan 9 23:27:02 CST 2003


----- Original Message -----
From: ".jeff" <jeff at members.evolt.org>
Sent: Thursday, January 09, 2003 12:23 AM

jeff,

> you know you can stack them up, right?

That's exactly what I did at first.  Then, I figured out they have a regex
testing tool on the site you can download.  I did that and came up with the
following regex:

/chapter/([\d]*)[/?]{0,1}.*([^?]*) /_secret/chapter.cfm?chapter_id=$1&$2 [I]

This single rule works in all cases when only one number is expected in the
URL.  To expect two numbers (like /chapter/110/22/), do something like this:

/chapter/([\d]*)/([\d]*)[/?]{0,1}.*([^?]*)
/_secret/chapter.cfm?chapter_id=$1&whatever=$2&$3 [I]

etc, etc, etc.

Thanks.

-joshua







More information about the thelist mailing list