Working in IIS7x and a handful of MVC3 sites. I'm trying to make the contents single folder (.wvm files) accessible to a number of different websites (each resolving to a different domain).

How do I configure the server so that links resolve to a physical path on the server's drive instead of a relative path within a given site's folder structure?

e.g. the same physical file should serve both these requests

http://www.mySite1.com/media/aCommonVideo.wmv
http://www.myOtherSite.com/media/aCommonVideo.wmv

thx

link|improve this question

79% accept rate
feedback

2 Answers

This is a job for Virtual Directories. See here.

link|improve this answer
beat me to it :) – Eric C. Singer Jan 30 at 22:36
feedback

Create a virutal folder in each of those descrete IIS sites called "Media" that points to the same physical folder.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.