IIS 7 and Above
Url and virtual directory
Last post May 04, 2012 05:25 AM by Dalong Zhang - MSFT
May 02, 2012 01:26 PM|giviglie1976|LINK
May 02, 2012 01:57 PM|fab777|LINK
Hi, I think you can use a rewrite rule for that, but since I'm not a rewriting specialist, just wait for them comments...
May 04, 2012 05:25 AM|Dalong Zhang - MSFT|LINK
Yes, you can use a rewrite rule, it will look like:
<rule name="page rewrite" stopProcessing="true">
<match url="^storage/12/34/56/78/90/12/mypic.jpc$" />
<action type="Rewrite" url="123456789012/mypic.jpg" />
For more information about URL Rewrite rules, please refer to the following article:
Creating Rewrite Rules for the URL Rewrite Module
If you have anything unsure on this issue, feel free to post back.