在IIS和Windows 7中配置虚拟目录 [英] configuring virtual directory in iis and windows 7

查看:110
本文介绍了在IIS和Windows 7中配置虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我尝试制作虚拟目录并在路径中引用它
c:\ inetpub \ wwwroot \ myfolder
一切顺利,而且我还在myfolder内的c:\ inetpub \ wwwroot目录中保存了一个名为index.asp的asp文件.
但是当我输入
http://localhost/virtual_directory_name/myfolder/index.asp
我收到404错误消息,找不到文件.

请帮帮我.

Hi,
I tried making virtual directory and referencing it in the path
c:\inetpub\wwwroot\myfolder
all went well, and also i kept an asp file named index.asp inside myfolder that is placed inside c:\inetpub\wwwroot.
But when i type
http://localhost/virtual_directory_name/myfolder/index.asp
i get a 404 error message, file not found.

Please help me out.

thanx in advence.

推荐答案

进入IIS,右键单击index.asp文件,然后选择浏览".您可能未意识到的路径或端口中可能存在一个额外的目录.

当您从IIS中浏览时,您将确切地看到URL应该是什么.
Go into IIS and right-click the index.asp file and choose Browse. There is likely an extra directory in the path or a port that you are not realizing.

When you browse from within IIS you will see exactly what the URL should be.


这篇关于在IIS和Windows 7中配置虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆