HI abigail, i'm not sure, but i think you have this backwards. isapi_rewrite 
takes the incoming url & converts it to a physical url _before_ iis/cf/php etc 
gets ahold of it. my guess is that you really want to convert:
http://127.0.0.1/imp/www/889

(note the lack of a ".cfm" which is not needed when doing this config) to:

http://127.0.0.1/imp/www/index.cfm?id=889

the easiest way to do this is to simply anchor to the back of the string using 
the $ and look for numeric values using [0-9]+ so the regex would simply look 
like this:

/([0-9]*)$/

then in the parsed output you would just do something like this:
index.cfm?id=\1

all of your output code will just need to have the urls formatted to use the 
new 'clean' system.

Hope this helps!
-Chris

Hi Chris,

Thanks for your input, the 2 examples Peter gave actually worked, just out of 
interest I'll try your example and see what I get.

Thanks,

Abi
-----------------------------------------------------------------------------------


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1168
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to