简体   繁体   中英

Point Virtural Directory in IIS7 at a different URL/Domain

When I used to use IIS 6 (or so) I'd often make a virtual directory on my local dev machine that pointed to the production assets/content directory(s). That way I could see all the most up to date content off production, without having to FTP it down from the production server.

Now I'm trying to do it in IIS 7 and can't see it.

Does anyone know how to do this?

Or has it been removed and I should use the IIS rewriter module?

Thanks in advance everyone!

-Evan

Ah man. This is so annoying, I don't think it's actually possible.

My conclusion is that this functionality was lost in IIS7. In my .net apps I use the rewriter in the web.config to achieve this result.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM