Pregunta

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")
¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top