IIS 7 & IIS 8
Url and virtual directory
Last post May 04, 2012 04:25 AM by Dalong Zhang - MSFT
May 02, 2012 12:26 PM|LINK
May 02, 2012 12:57 PM|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 04:25 AM|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.