Symlink created with mklink not working with IIS7.5 — Windows 7

前端 未结 2 809
滥情空心
滥情空心 2020-12-19 18:30

So while in my IIS root directory (c:\\inetpub\\wwwroot) I\'ve created a symlink to a network drive using:

mdlink /D truthuniversal \"U:\\Truth Universal Full Site\\

2条回答
  •  轮回少年
    2020-12-19 18:36

    You need to create a virtual directory mapping to that directory in IIS in order for it to serve up the page. In IIS, right click on "Default Website", then click "Add Virtual Directory". Also, doing this, there is no reason why you even need the symlink. Just map it to the target to begin with.

提交回复
热议问题