开发者

How to create a Virtual Directory under a Site

开发者 https://www.devze.com 2023-02-09 21:16 出处:网络
Edit: I can\'t believe that I wasn\'t trying from my IIS but instead, I was running it directly fro开发者_如何学编程m Visual studio which resulted in this error :) I can clearly see the images when I

Edit: I can't believe that I wasn't trying from my IIS but instead, I was running it directly fro开发者_如何学编程m Visual studio which resulted in this error :) I can clearly see the images when I run it directly from IIS!

I've created a website under IIS and have successfuly pointed it to my project. The path to my project under IIS is:

http://localhost:36011/cartoon/

I, then created a virtual directory under website cartoon named cartoon_images but it creates it under localhost:36011/cartoon_images/ instead of localhost:36011/cartoon/cartoon_images/

How to create a Virtual Directory under a Site

As you can see, virtual directory is under the website "cartoon" but I can't access it as cartoon/cartoon_images/

I'll need to give links to this virtual folder but I can't do it in this case if I'm not mistaken.

Thank you.


I can't believe that I wasn't trying from my IIS but instead, I was running it directly from Visual studio which resulted in this error :) I can clearly see the images when I run it directly from IIS!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号