Hi, I'm trying to use the ResourceLocationTable.config to rewrite URLs and I can't get it to work. I have pages that display details on a particular product based on a querystring parameter and I am trying to create a virtual path that doesn't use parameters and gets rewritten appropriately by PageBlaster. For example: The URL is /dresses/brand.aspx?product.jpg I would instead like to use /dresses/brand/details/product.aspx to access this page. The rule I created is: <resourceLocationItem virtual-path="(/dresses/\w+)/details/(\w+\.)aspx" url="$1.aspx?img=$2jpg" method="Rewrite" isPattern="True" />
When I try and browse to /dresses/brand/details/product.aspx I get "resource cannot be found" with a requested URL of /dresses/brand/details/$1.aspx
Can I achieve this? Should my rule work?
I'm using V3.4.5 of the PageBlaster dll.
Thanks... Paul |