Hi All,
I've got two sites on the same IIS7 server and they both have a virtual directory called "photos" which points to the same UNC path and directory. Both sites serve content from the "photos" virtual directory just fine.
On "Site 1" I want to set the content to expire for the "photos" virtual directory to 20 minutes. When I do that a web.config file is generated in the physical location that maps to the "photos" virtual directory. Now both "Site 1" and "Site 2" have the same 20 minute expiration althugh my intent was NOT to have a 20 minute expiration for the "photos" virtual under "Site 2".
I want both sites to share the same virtual directory (and no, it's not practical to copy the files to different locations) and yet I want each site to have it's own unique content expiration time. On the surface it appears that this can't be done.
Any way around this issue?
Thanks,
-Phil