문제

The web application located in "D:ApplicationName" and host in IIS .

In the application have a images folder.Over time,the folder increase quickly.

So,How to map the images folder to "E:\images"

HTML Sometimes like:

<img alt="" src="~/images/a.jpg" />(which point to "E:\images\a.jpg")
도움이 되었습니까?

해결책

Instead of a url rewrite, consider setting up a virtual directory in IIS. Name it images, and point it to the E:\images folder.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top